For bug #139383, in xtermTitleReset() use os.system() instead of commands.getoutput...
authorZac Medico <zmedico@gentoo.org>
Fri, 8 Jun 2007 23:10:46 +0000 (23:10 -0000)
committerZac Medico <zmedico@gentoo.org>
Fri, 8 Jun 2007 23:10:46 +0000 (23:10 -0000)
svn path=/main/trunk/; revision=6768

pym/portage/output.py

index b4877b30d31fabca96372407f0ba95751e023462..cd140f016e12440c3b49a591eefc3cbff570b5f4 100644 (file)
@@ -194,7 +194,8 @@ def xtermTitleReset():
                if prompt_command == "":
                        default_xterm_title = ""
                elif prompt_command is not None:
-                       default_xterm_title = commands.getoutput(prompt_command)
+                       os.system(prompt_command)
+                       return
                else:
                        pwd = os.getenv('PWD','')
                        home = os.getenv('HOME', '')