]> git.llucax.com Git - software/pymin.git/blobdiff - pymin/services/util.py
Bugfix: use hasattr() right when looking for help.
[software/pymin.git] / pymin / services / util.py
index 3f509578f03ed3cd466019e9eaf4974097a6ad55..bfdba1c6ba8540b0f10a5b7b97a280d5bfc17bb6 100644 (file)
@@ -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