diff options
author | Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com> | 2012-03-09 10:38:37 +0000 |
---|---|---|
committer | Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com> | 2012-03-09 10:38:37 +0000 |
commit | 8f4e77a6488d9d286d83eba6712134354ddad93c (patch) | |
tree | 618654c12807dd7af298edf08626499d8aa3e534 /saslauthd | |
parent | 107f91157704dbc5b6b7054cf420da5ef651027f (diff) | |
download | pykolab-8f4e77a6488d9d286d83eba6712134354ddad93c.tar.gz |
Correct some pylint conventions
Diffstat (limited to 'saslauthd')
-rw-r--r-- | saslauthd/__init__.py | 4 |
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() |