Fixed error in replace touch feature
This commit is contained in:
parent
78538bc48b
commit
259e3268c6
1 changed files with 1 additions and 1 deletions
|
@ -240,7 +240,7 @@ class LdapServer(object):
|
||||||
|
|
||||||
def touch_object(self,dn,attr,orig_value):
|
def touch_object(self,dn,attr,orig_value):
|
||||||
if options.replacetouch:
|
if options.replacetouch:
|
||||||
new_value=[new_value]
|
new_value=[TOUCH_VALUE]
|
||||||
else:
|
else:
|
||||||
new_value=list(orig_value)
|
new_value=list(orig_value)
|
||||||
new_value.append(TOUCH_VALUE)
|
new_value.append(TOUCH_VALUE)
|
||||||
|
|
Loading…
Reference in a new issue