Make dbapi.cp_list() raise NotImplementedError.
authorZac Medico <zmedico@gentoo.org>
Thu, 25 Jun 2009 21:24:30 +0000 (21:24 -0000)
committerZac Medico <zmedico@gentoo.org>
Thu, 25 Jun 2009 21:24:30 +0000 (21:24 -0000)
svn path=/main/trunk/; revision=13695

pym/portage/dbapi/__init__.py

index db6e36fcd6a13b02858aaf84db57f8b75a2b3c64..abd6cc870d2ebf2eabe5440f727c03542617ff4f 100644 (file)
@@ -50,7 +50,7 @@ class dbapi(object):
                pass
 
        def cp_list(self, cp, use_cache=1):
-               return
+               raise NotImplementedError(self)
 
        def _cpv_sort_ascending(self, cpv_list):
                """