Correct a dangling reference to a raw variable
authorDan Scott <dscott@laurentian.ca>
Wed, 14 Sep 2011 16:33:10 +0000 (12:33 -0400)
committerDan Scott <dscott@laurentian.ca>
Tue, 7 May 2013 18:50:43 +0000 (14:50 -0400)
Signed-off-by: Dan Scott <dscott@laurentian.ca>
tools/patron-load/ldap_osrf_sync

index d069e5c..883fa67 100755 (executable)
@@ -304,7 +304,7 @@ def find_ldap_users(con, ldap_filter, attributes, auth):
                         (user.ident_value)
                     continue
                 barcode = get_barcode(auth, uid)
-                update_ldap_barcode(con, cname, barcode)
+                update_ldap_barcode(con, user, barcode)
 
     except ldap.LDAPError, exc:
         print >> sys.stderr, exc