Fixed error in replace touch feature

This commit is contained in:
Benjamin Renard 2013-12-20 10:07:17 +01:00
parent 78538bc48b
commit 259e3268c6

View file

@ -240,7 +240,7 @@ class LdapServer(object):
def touch_object(self,dn,attr,orig_value):
if options.replacetouch:
new_value=[new_value]
new_value=[TOUCH_VALUE]
else:
new_value=list(orig_value)
new_value.append(TOUCH_VALUE)