From: Leandro Lucarella Date: Wed, 10 Oct 2007 19:36:11 +0000 (-0300) Subject: Bugfix: remove unused DictSubHandler attribute. X-Git-Url: https://git.llucax.com/software/pymin.git/commitdiff_plain/4eb6c6308a028e4d4d0673c8f2090e74294d6e36?hp=b625efee35009ec66e13c5f54dd3b70b77f803d1 Bugfix: remove unused DictSubHandler attribute. --- diff --git a/pymin/services/util.py b/pymin/services/util.py index 3f50957..bfdba1c 100644 --- a/pymin/services/util.py +++ b/pymin/services/util.py @@ -596,13 +596,11 @@ class DictSubHandler(SubHandler): list and show. """ - def __init__(self, parent, attr=None, key=None, cls=None): + def __init__(self, parent, attr=None, cls=None): r"Initialize the object, see the class documentation for details." self.parent = parent if attr is not None: self._dict_subhandler_attr = attr - if key is not None: - self._dict_subhandler_key = key if cls is not None: self._dict_subhandler_class = cls