]> git.llucax.com Git - software/pymin.git/blobdiff - pymin/services/util.py
Remove duplicated code.
[software/pymin.git] / pymin / services / util.py
index c3579c7138b553523307cc1bb95d5c6b97eb7bc6..32a82cf0668f6f5573b043184c79e188a9b37547 100644 (file)
@@ -918,7 +918,7 @@ class ContainerSubHandler(SubHandler):
         log.debug(u'ContainerSubHandler.clear()')
         # FIXME broken really, no _delete attribute is setted :S
         if isinstance(self._attr(), dict):
-            self._attr.clear()
+            self._attr().clear()
         else:
             self._attr(list())