repoman: pass type_name to Package constructor
authorZac Medico <zmedico@gentoo.org>
Mon, 23 May 2011 07:05:05 +0000 (00:05 -0700)
committerZac Medico <zmedico@gentoo.org>
Thu, 26 May 2011 04:26:01 +0000 (21:26 -0700)
bin/repoman

index 2b62e8fbf5650204a690ff3698b568a0c5ae43b7..f59a34c186eb1fea603764325abecda06e2611c6 100755 (executable)
@@ -1166,7 +1166,7 @@ for x in scanlist:
                                fails["EAPI.unsupported"].append(os.path.join(x, y))
                                continue
                        pkgs[pf] = Package(cpv=cpv, metadata=myaux,
-                               root_config=root_config)
+                               root_config=root_config, type_name="ebuild")
 
        # Sort ebuilds in ascending order for the KEYWORDS.dropped check.
        pkgsplits = {}