[Pkg-privacy-commits] [obfsproxy] 90/353: Fix some bugs in the new logging system.
Ximin Luo
infinity0 at moszumanska.debian.org
Sat Aug 22 13:01:44 UTC 2015
This is an automated email from the git hooks/post-receive script.
infinity0 pushed a commit to branch master
in repository obfsproxy.
commit 0bcf305ece2c430d211baa3f72c78451c76ff976
Author: George Kadianakis <desnacked at riseup.net>
Date: Wed Nov 28 16:05:20 2012 +0200
Fix some bugs in the new logging system.
Patch by Philipp Winter.
---
obfsproxy/common/log.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/obfsproxy/common/log.py b/obfsproxy/common/log.py
index 34d1f28..0bec25d 100644
--- a/obfsproxy/common/log.py
+++ b/obfsproxy/common/log.py
@@ -39,10 +39,10 @@ class ObfsLogger(object):
"""Set up our logger so that it starts logging to file in 'filename' instead."""
# remove the default handler, and add the FileHandler:
- self.obfslogger.removeHandler(default_handler)
+ self.obfslogger.removeHandler(self.default_handler)
log_handler = logging.FileHandler(filename)
- set_formatter(log_handler)
+ self.set_formatter(log_handler)
self.obfslogger.addHandler(log_handler)
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-privacy/packages/obfsproxy.git
More information about the Pkg-privacy-commits
mailing list