Add missing noiselevel argument in writemsg_stdout() calls.
authorZac Medico <zmedico@gentoo.org>
Sat, 8 Aug 2009 22:06:14 +0000 (22:06 -0000)
committerZac Medico <zmedico@gentoo.org>
Sat, 8 Aug 2009 22:06:14 +0000 (22:06 -0000)
svn path=/main/trunk/; revision=13954

pym/_emerge/depgraph.py

index bbc3cd439d6a7f42f49a5e5e5843feb26b455313..35bb4d4e5f1de6d685c0b8f9c3f3984469f09e51 100644 (file)
@@ -4352,9 +4352,10 @@ class depgraph(object):
                                sys.stdout.write(str(repo_display))
 
                if "--changelog" in self._frozen_config.myopts:
-                       print
+                       writemsg_stdout('\n', noiselevel=-1)
                        for revision,text in changelogs:
-                               writemsg_stdout(bold('*'+revision) + '\n' + text)
+                               writemsg_stdout(bold('*'+revision) + '\n' + text,
+                                       noiselevel=-1)
 
                sys.stdout.flush()
                return os.EX_OK
@@ -5112,7 +5113,8 @@ def show_masked_packages(masked_packages):
                print "- "+cpv+" (masked by: "+", ".join(mreasons)+")"
 
                if comment and comment not in shown_comments:
-                       writemsg_stdout(filename + ":\n" + comment + "\n")
+                       writemsg_stdout(filename + ":\n" + comment + "\n",
+                               noiselevel=-1)
                        shown_comments.add(comment)
                portdb = root_config.trees["porttree"].dbapi
                for l in missing_licenses: