mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2024-12-23 15:40:01 -06:00
Fix bug where parameter cloning didn't clone validation rules.
This commit is contained in:
parent
4dfbf46062
commit
899f318359
@ -505,7 +505,7 @@ class Param(ReadOnly):
|
||||
"""
|
||||
kw = dict(self.__clonekw)
|
||||
kw.update(overrides)
|
||||
return self.__class__(self.name, **kw)
|
||||
return self.__class__(self.name, *self.rules, **kw)
|
||||
|
||||
def normalize(self, value):
|
||||
"""
|
||||
|
Loading…
Reference in New Issue
Block a user