From: Peter Palfrader Date: Sun, 14 Sep 2008 22:17:00 +0000 (+0200) Subject: Using the right variable name will also help X-Git-Tag: userdir-ldap-0.3.39~2 X-Git-Url: https://git.adam-barratt.org.uk/?p=mirror%2Fuserdir-ldap.git;a=commitdiff_plain;h=767da22f496519d8834140e162046d61e544741f Using the right variable name will also help --- diff --git a/debian/changelog b/debian/changelog index 6bf7810..5a83508 100644 --- a/debian/changelog +++ b/debian/changelog @@ -2,8 +2,9 @@ userdir-ldap (0.3.38) unstable; urgency=low * Fix order of some calls so stuff works again. * And import pwd and os in userdir_ldap.py. + * Using the right variable name will also help. - -- Peter Palfrader Mon, 15 Sep 2008 00:15:37 +0200 + -- Peter Palfrader Mon, 15 Sep 2008 00:16:46 +0200 userdir-ldap (0.3.37) unstable; urgency=low diff --git a/userdir_ldap.py b/userdir_ldap.py index 6cfe65a..7d091f2 100644 --- a/userdir_ldap.py +++ b/userdir_ldap.py @@ -42,7 +42,7 @@ Ech_ErrorLog = ConfModule.ech_errorlog; Ech_MainLog = ConfModule.ech_mainlog; File = open(PassDir+"/key-hmac-"+pwd.getpwuid(os.getuid())[0],"r"); -HmacKey = F.readline().strip() +HmacKey = File.readline().strip() File.close(); # For backwards compatibility, we default to the old behaviour