add fileno method to glogging.LazyWriter

fix #496
This commit is contained in:
benoitc 2013-04-18 16:20:08 +02:00
parent b8c5c537f8
commit 1a1c9572ef

View File

@ -130,6 +130,9 @@ class LazyWriter(object):
def isatty(self):
return bool(self.fileobj and self.fileobj.isatty())
def fileno():
return self.fileobj.fileno()
class SafeAtoms(dict):