[Da-tools-commits] ./debian/userdir-ldap r458: Using the right variable name will also help

Peter Palfrader peter at palfrader.org
Sun Sep 14 22:17:00 UTC 2008


------------------------------------------------------------
revno: 458
committer: Peter Palfrader <peter at palfrader.org>
branch nick: userdir-ldap
timestamp: Mon 2008-09-15 00:17:00 +0200
message:
  Using the right variable name will also help
modified:
  debian/changelog
  userdir_ldap.py
-------------- next part --------------
=== modified file 'debian/changelog'
--- a/debian/changelog	2008-09-14 22:15:46 +0000
+++ b/debian/changelog	2008-09-14 22:17:00 +0000
@@ -2,8 +2,9 @@
 
   * 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 at debian.org>  Mon, 15 Sep 2008 00:15:37 +0200
+ -- Peter Palfrader <weasel at debian.org>  Mon, 15 Sep 2008 00:16:46 +0200
 
 userdir-ldap (0.3.37) unstable; urgency=low
 

=== modified file 'userdir_ldap.py'
--- a/userdir_ldap.py	2008-09-14 22:15:46 +0000
+++ b/userdir_ldap.py	2008-09-14 22:17:00 +0000
@@ -42,7 +42,7 @@
 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



More information about the Da-tools-commits mailing list