Do not show CRC under System Information for "show version"

This commit is contained in:
Zi Zhou
2016-10-13 17:19:31 -07:00
committed by Carl D. Roth
parent 86cedd5bab
commit bc4d2e6f97

View File

@@ -45,7 +45,7 @@ class OnlInfoObject(object):
@staticmethod
def string(d, indent=DEFAULT_INDENT):
return "\n".join( sorted("%s%s: %s" % (indent,k,v) for k,v in d.iteritems() if not k.startswith('_') and d[k] is not None) )
return "\n".join( sorted("%s%s: %s" % (indent,k,v) for k,v in d.iteritems() if not k.startswith('_') and d[k] is not None and k != 'CRC'))
############################################################