Use sys.stdout instead of print to avoid an extra newline.
authorZac Medico <zmedico@gentoo.org>
Sat, 14 Jul 2007 23:25:36 +0000 (23:25 -0000)
committerZac Medico <zmedico@gentoo.org>
Sat, 14 Jul 2007 23:25:36 +0000 (23:25 -0000)
svn path=/main/trunk/; revision=7259

pym/emerge/__init__.py

index d32ef24b0995f61106bb37992f8672accc8bddf0..f9e1f0f18b437670765438b3bbdeb7f08210e5c1 100644 (file)
@@ -3166,7 +3166,7 @@ class depgraph(object):
                if verbosity == 3:
                        print
                        print counters
-                       print repo_display,
+                       sys.stdout.write(str(repo_display))
 
                if "--changelog" in self.myopts:
                        print