From 8f4e77a6488d9d286d83eba6712134354ddad93c Mon Sep 17 00:00:00 2001 From: "Jeroen van Meeuwen (Kolab Systems)" Date: Fri, 9 Mar 2012 10:38:37 +0000 Subject: Correct some pylint conventions --- saslauthd/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'saslauthd') 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() -- cgit v1.1