depgraph: include pkg.repo in debug output
authorZac Medico <zmedico@gentoo.org>
Sat, 9 Jul 2011 20:12:57 +0000 (13:12 -0700)
committerZac Medico <zmedico@gentoo.org>
Sat, 9 Jul 2011 20:12:57 +0000 (13:12 -0700)
pym/_emerge/depgraph.py

index bc4d538cb44f8575de7a63c8cc0e65b2681f87d2..899d04e3067df0c5492462d76a312c4f1ef33254 100644 (file)
@@ -3901,8 +3901,9 @@ class depgraph(object):
 
                if "--debug" in self._frozen_config.myopts:
                        for pkg in matched_packages:
-                               portage.writemsg("%s %s\n" % \
-                                       ((pkg.type_name + ":").rjust(10), pkg.cpv), noiselevel=-1)
+                               portage.writemsg("%s %s%s%s\n" % \
+                                       ((pkg.type_name + ":").rjust(10),
+                                       pkg.cpv, _repo_separator, pkg.repo), noiselevel=-1)
 
                # Filter out any old-style virtual matches if they are
                # mixed with new-style virtual matches.