Fix digraph.debug_print inverted hard/soft logic.
authorZac Medico <zmedico@gentoo.org>
Tue, 19 Sep 2006 01:58:04 +0000 (01:58 -0000)
committerZac Medico <zmedico@gentoo.org>
Tue, 19 Sep 2006 01:58:04 +0000 (01:58 -0000)
svn path=/main/trunk/; revision=4477

pym/portage.py

index 86c665114ea90d41286aa486aa35224615146a80..967b9aec4d4519adf59458bcf822917edc979136 100644 (file)
@@ -463,9 +463,9 @@ class digraph:
                        for child in self.nodes[node][0]:
                                print "  ",child,
                                if self.nodes[node][0][child]:
-                                       print "(hard)"
-                               else:
                                        print "(soft)"
+                               else:
+                                       print "(hard)"