diff options
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() |