Using the right variable name will also help
authorPeter Palfrader <peter@palfrader.org>
Sun, 14 Sep 2008 22:17:00 +0000 (00:17 +0200)
committerPeter Palfrader <peter@palfrader.org>
Sun, 14 Sep 2008 22:17:00 +0000 (00:17 +0200)
debian/changelog
userdir_ldap.py

index 6bf7810..5a83508 100644 (file)
@@ -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 <weasel@debian.org>  Mon, 15 Sep 2008 00:15:37 +0200
+ -- Peter Palfrader <weasel@debian.org>  Mon, 15 Sep 2008 00:16:46 +0200
 
 userdir-ldap (0.3.37) unstable; urgency=low
 
index 6cfe65a..7d091f2 100644 (file)
@@ -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