[Da-tools-commits] ./da-tools/userdir-ldap-common r376: and some more old CheckNumber fixes
Mark Hymers
mhy at debian.org
Thu Jan 10 13:48:43 UTC 2008
------------------------------------------------------------
revno: 376
committer: Mark Hymers <mhy at debian.org>
branch nick: userdir-ldap-common
timestamp: Thu 2008-01-10 13:48:43 +0000
message:
and some more old CheckNumber fixes
modified:
ud-userimport
-------------- next part --------------
=== modified file 'ud-userimport'
--- a/ud-userimport 2008-01-10 13:44:07 +0000
+++ b/ud-userimport 2008-01-10 13:48:43 +0000
@@ -145,7 +145,7 @@
continue;
for x in range(2,8):
- Split[x] = int(Split[x])
+ int(Split[x])
Rec = [(ldap.MOD_REPLACE,"shadowLastChange",Split[2]),
(ldap.MOD_REPLACE,"shadowMin",Split[3]),
@@ -186,7 +186,7 @@
# Split up the group information
Split = re.split("[:\n]",Line);
Members = re.split("[, ]*",Split[3]);
- Split[2] = int(Split[2])
+ int(Split[2])
# Iterate over the membership list and add the membership information
# To the directory
More information about the Da-tools-commits
mailing list