diff --git a/attributs.py b/attributs.py index ed0652d..0134a86 100644 --- a/attributs.py +++ b/attributs.py @@ -1517,7 +1517,8 @@ class userPassword(rightProtectedAttr): comprendre""" matched = HASH_RE.match(self.value) - groupdict = {}.update(matched.groupdict()) + groupdict = {} + groupdict.update(matched.groupdict()) groupdict['method'] = groupdict['method'].upper() return unicode("{%(method)s}%(hash)s" % groupdict)