diff options
author | Josiah Carlson <josiah.carlson@gmail.com> | 2009-04-01 01:28:11 (GMT) |
---|---|---|
committer | Josiah Carlson <josiah.carlson@gmail.com> | 2009-04-01 01:28:11 (GMT) |
commit | bb94d43dcdbfddff40f23944f0e4079f41a30421 (patch) | |
tree | 9e6990c90aeaf385b00fff5bf98a35198b9b49b2 /Lib/asyncore.py | |
parent | d8fb6ac9da7256d6cdb22c4b4c2d7ed06fba60d6 (diff) | |
download | cpython-bb94d43dcdbfddff40f23944f0e4079f41a30421.zip cpython-bb94d43dcdbfddff40f23944f0e4079f41a30421.tar.gz cpython-bb94d43dcdbfddff40f23944f0e4079f41a30421.tar.bz2 |
Fix for failing asyncore tests.
Diffstat (limited to 'Lib/asyncore.py')
-rw-r--r-- | Lib/asyncore.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/asyncore.py b/Lib/asyncore.py index 07b0499..4f1153b 100644 --- a/Lib/asyncore.py +++ b/Lib/asyncore.py @@ -401,7 +401,7 @@ class dispatcher: sys.stderr.write('log: %s\n' % str(message)) def log_info(self, message, type='info'): - if __debug__ or type not in self.ignore_log_types: + if type not in self.ignore_log_types: print '%s: %s' % (type, message) def handle_read_event(self): |