porttree._dummy_list: fix infinite recursion
authorZac Medico <zmedico@gentoo.org>
Sat, 8 Jun 2013 05:47:48 +0000 (22:47 -0700)
committerZac Medico <zmedico@gentoo.org>
Sat, 8 Jun 2013 05:47:48 +0000 (22:47 -0700)
pym/portage/dbapi/porttree.py

index 1a6ffdd8ae038561ee5a8b245c7f9bd797594ff4..b106de779dccb527b2f8a82c3c177a046b9d5859 100644 (file)
@@ -63,7 +63,7 @@ class _dummy_list(list):
                # TODO: Trigger a DeprecationWarning here, after stable portage
                # has dummy portdbapi_instances.
                try:
-                       self.remove(item)
+                       list.remove(self, item)
                except ValueError:
                        pass