silence an informational message

This commit is contained in:
Ajay Ramaswamy 2018-04-18 05:45:59 +05:30
parent 6772e1c758
commit dc142f38ef

View File

@ -676,7 +676,7 @@ class ZK(object):
""" return all user """ """ return all user """
users = [] users = []
userdata, size = self.read_with_buffer(const.CMD_USERTEMP_RRQ, const.FCT_USER) userdata, size = self.read_with_buffer(const.CMD_USERTEMP_RRQ, const.FCT_USER)
print "user size %i" % size #print "user size %i" % size
if size < 4: if size < 4:
print "WRN: no user data" # debug print "WRN: no user data" # debug
return [] return []