remove the print e

remove the print e, when logging to the c
onsole, because when IOError occurs, the print would also rais a IOError
This commit is contained in:
andyliuliming
2015-11-27 13:58:11 +08:00
parent ba2ded0650
commit 363b563598
-1
View File
@@ -2543,7 +2543,6 @@ class Logger(object):
message = filter(lambda x : x in string.printable, message)
C.write(message.encode('ascii','ignore') + "\n")
except IOError, e:
print e
pass
def Log(self,message):