{} ne s'update pas
This commit is contained in:
parent
583bd3d73c
commit
06f3687dd4
1 changed files with 2 additions and 1 deletions
|
@ -1517,7 +1517,8 @@ class userPassword(rightProtectedAttr):
|
||||||
comprendre"""
|
comprendre"""
|
||||||
|
|
||||||
matched = HASH_RE.match(self.value)
|
matched = HASH_RE.match(self.value)
|
||||||
groupdict = {}.update(matched.groupdict())
|
groupdict = {}
|
||||||
|
groupdict.update(matched.groupdict())
|
||||||
groupdict['method'] = groupdict['method'].upper()
|
groupdict['method'] = groupdict['method'].upper()
|
||||||
return unicode("{%(method)s}%(hash)s" % groupdict)
|
return unicode("{%(method)s}%(hash)s" % groupdict)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue