[Da-tools-commits] ./da-tools/userdir-ldap-common r374: Fix mistake in ud-userimport add logic spotted by Peter Palfrader.
Mark Hymers
mhy at debian.org
Thu Jan 10 12:58:39 UTC 2008
------------------------------------------------------------
revno: 374
committer: Mark Hymers <mhy at debian.org>
branch nick: userdir-ldap-common
timestamp: Thu 2008-01-10 12:58:39 +0000
message:
Fix mistake in ud-userimport add logic spotted by Peter Palfrader.
modified:
ud-userimport
-------------- next part --------------
=== modified file 'ud-userimport'
--- a/ud-userimport 2007-12-26 20:49:42 +0000
+++ b/ud-userimport 2008-01-10 12:58:39 +0000
@@ -106,8 +106,8 @@
if (DoAdd == 1):
try:
- AddRec = Rec
- Rec.append(("objectClass", UserObjectClasses))
+ AddRec = Rec[:]
+ AddRec.append(("objectClass", UserObjectClasses))
l.add_s(Dn,AddRec)
DoModify = False
More information about the Da-tools-commits
mailing list