summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2014-09-11 21:40:31 +0200
committerJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2014-09-11 21:40:31 +0200
commit9979cacd96ee89cdff64705ffab2a681250d32be (patch)
tree3bdb36b20804d1653afaf01062050d6094bafd61
parentc43b279f1a1d6a4186c1a99763cf1343c915f1fc (diff)
downloadpykolab-9979cacd96ee89cdff64705ffab2a681250d32be.tar.gz
Fix typo
-rw-r--r--pykolab/logger.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pykolab/logger.py b/pykolab/logger.py
index 51f3e12..3ad16e9 100644
--- a/pykolab/logger.py
+++ b/pykolab/logger.py
@@ -156,7 +156,7 @@ class Logger(logging.Logger):
if os.path.isfile(self.logfile):
try:
- if not user_uid == 0 or group_gid = 0:
+ if not user_uid == 0 or group_gid == 0:
os.chown(
self.logfile,
user_uid,
@@ -214,6 +214,6 @@ class Logger(logging.Logger):
if level <= self.debuglevel:
# TODO: Not the way it's supposed to work!
self.log(logging.DEBUG, '[%d]: %s' % (os.getpid(),msg))
-
+
logging.setLoggerClass(Logger)