Fixed error in replace touch feature
Benjamin Renard

Benjamin Renard commited on 2013-12-20 09:07:17
Showing 1 changed files, with 1 additions and 1 deletions.

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