manifest: remove unused 'pf is None' case
authorZac Medico <zmedico@gentoo.org>
Wed, 14 Sep 2011 02:35:36 +0000 (19:35 -0700)
committerZac Medico <zmedico@gentoo.org>
Wed, 14 Sep 2011 02:35:36 +0000 (19:35 -0700)
pym/portage/manifest.py

index ef1a552e8c57b9bacdca0a2ab695a3e616211f46..4fd44b0591eafd52cd21fe85daefabaf89a6e062 100644 (file)
@@ -376,8 +376,6 @@ class Manifest(object):
                if not filename.endswith(".ebuild"):
                        return None
                pf = filename[:-7]
-               if pf is None:
-                       return None
                ps = portage.versions._pkgsplit(pf)
                cpv = "%s/%s" % (cat, pf)
                if not ps: