From 06f3687dd4d62a5a98f75c504dbbbaea5d8710b4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pierre-Elliott=20B=C3=A9cue?= Date: Sat, 6 Jun 2015 17:49:37 +0200 Subject: [PATCH] {} ne s'update pas --- attributs.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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)