Fix Atom -> str breakage in depgraph._show_slot_collision_notice(). Thanks
authorZac Medico <zmedico@gentoo.org>
Sat, 21 Jun 2008 22:41:40 +0000 (22:41 -0000)
committerZac Medico <zmedico@gentoo.org>
Sat, 21 Jun 2008 22:41:40 +0000 (22:41 -0000)
to Arfrever for reporting.

svn path=/main/trunk/; revision=10758

pym/_emerge/__init__.py

index 900c653864a3705ba066ae8c571d07dc55a31edc..cb017c9bc32f068a18e82ae4c4cd1a420d7116aa 100644 (file)
@@ -2049,7 +2049,7 @@ class depgraph(object):
                # Max number of parents shown, to avoid flooding the display.
                max_parents = 3
                for slot_atom, root in self._slot_collision_info:
-                       msg.append(slot_atom)
+                       msg.append(str(slot_atom))
                        msg.append("\n\n")
                        slot_nodes = []
                        for node in self._slot_collision_nodes: