X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=plcapi.py;fp=plcapi.py;h=11d37db22e9f6f9ba687b03d5e9565b8fb32a8fc;hb=2bdabc3d01aac59e8000093482f369f81990a924;hp=fd04b6a5e9394483350d4bb5d46c7b8d5a681c7e;hpb=0f6910902f7cd39837d93616ca6f9c7a8e7a8650;p=nodemanager.git diff --git a/plcapi.py b/plcapi.py index fd04b6a..11d37db 100644 --- a/plcapi.py +++ b/plcapi.py @@ -44,12 +44,12 @@ class PLCAPI: if isinstance(arg, list) or isinstance(arg, tuple): # The old implementation did not recursively handle # lists of lists. But neither did the old API itself. - values += self.canonicalize(arg) + values += canonicalize(arg) elif isinstance(arg, dict): # Yes, the comments in the old implementation are # misleading. Keys of dicts are not included in the # hash. - values += self.canonicalize(arg.values()) + values += canonicalize(arg.values()) else: # We use unicode() instead of str(). values.append(unicode(arg))