]> git.llucax.com Git - software/pymin.git/commitdiff
Use the ContainerSubHandler._attr method as a method (fixes #18).
authorLeandro Lucarella <llucax@gmail.com>
Sat, 10 May 2008 04:28:22 +0000 (01:28 -0300)
committerLeandro Lucarella <llucax@gmail.com>
Sat, 10 May 2008 04:28:22 +0000 (01:28 -0300)
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):
         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())
 
         else:
             self._attr(list())