Fix the mod operations.

This commit is contained in:
Pavel Zuna
2010-12-21 16:17:28 +01:00
committed by Rob Crittenden
parent fc8f7f9da8
commit ec5fba6e67

View File

@@ -711,6 +711,7 @@ class LDAPUpdate(LDAPQuery, crud.Update):
def _get_rename_option(self):
rdnparam = getattr(self.obj.params, self.obj.rdnattr)
return rdnparam.clone_rename('rename', cli_name='rename',
required=False, label=_('Rename'),
doc=_('Rename the %s object' % self.obj.object_name))
def get_options(self):