tweak output when diff access rights are needed
authorMike Frysinger <vapier@gentoo.org>
Wed, 6 May 2009 16:26:01 +0000 (16:26 -0000)
committerMike Frysinger <vapier@gentoo.org>
Wed, 6 May 2009 16:26:01 +0000 (16:26 -0000)
svn path=/main/trunk/; revision=13616

pym/_emerge/__init__.py

index 7c5a82324d9945c05709aea547ef2980307f9ad5..874f77d8f357caf200c9e07812b4334017e3f7dd 100644 (file)
@@ -16156,12 +16156,12 @@ def emerge_main():
                                        myopts["--pretend"] = True
                                        del myopts["--ask"]
                                        print ("%s access is required... " + \
-                                               "adding --pretend to options.\n") % access_desc
+                                               "adding --pretend to options\n") % access_desc
                                        if portage.secpass < 1 and not need_superuser:
                                                portage_group_warning()
                                else:
-                                       sys.stderr.write(("emerge: %s access is " + \
-                                               "required.\n\n") % access_desc)
+                                       sys.stderr.write(("emerge: %s access is required\n") \
+                                               % access_desc)
                                        if portage.secpass < 1 and not need_superuser:
                                                portage_group_warning()
                                        return 1