xtermTitleReset: revert behavior for bug #348460
authorZac Medico <zmedico@gentoo.org>
Sun, 12 Dec 2010 12:36:20 +0000 (04:36 -0800)
committerZac Medico <zmedico@gentoo.org>
Sun, 12 Dec 2010 12:38:57 +0000 (04:38 -0800)
pym/portage/output.py

index a195db4fcd88572ebf243373985507ab30267f23..5e8b89e0ed76bfc950e1a667a36f8ac08d1a4d77 100644 (file)
@@ -268,7 +268,7 @@ default_xterm_title = None
 def xtermTitleReset():
        global default_xterm_title
        if default_xterm_title is None:
-               prompt_command = os.environ.get('PROMPT_COMMAND', '')
+               prompt_command = os.environ.get('PROMPT_COMMAND')
                if prompt_command == "":
                        default_xterm_title = ""
                elif prompt_command is not None: