summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2012-03-09 10:38:37 (GMT)
committerJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2012-03-09 10:38:37 (GMT)
commit8f4e77a6488d9d286d83eba6712134354ddad93c (patch)
tree618654c12807dd7af298edf08626499d8aa3e534
parent107f91157704dbc5b6b7054cf420da5ef651027f (diff)
downloadpykolab-8f4e77a6488d9d286d83eba6712134354ddad93c.tar.gz
Correct some pylint conventions
-rw-r--r--saslauthd/__init__.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/saslauthd/__init__.py b/saslauthd/__init__.py
index 1fa5e63..634594d 100644
--- a/saslauthd/__init__.py
+++ b/saslauthd/__init__.py
@@ -141,7 +141,7 @@ class SASLAuthDaemon(object):
(length,) = struct.unpack("!H", received[start:end])
start += 2
end += length
- (value,) = struct.unpack("!%ds" %(length), received[start:end])
+ (value,) = struct.unpack("!%ds" % (length), received[start:end])
start += length
end = start + 2
login.append(value)
@@ -170,5 +170,5 @@ class SASLAuthDaemon(object):
def write_pid(self):
pid = os.getpid()
fp = open(conf.pidfile,'w')
- fp.write("%d\n" %(pid))
+ fp.write("%d\n" % (pid))
fp.close()