From: Zac Medico Date: Sun, 12 Dec 2010 12:36:20 +0000 (-0800) Subject: xtermTitleReset: revert behavior for bug #348460 X-Git-Tag: v2.2.0_alpha8~3 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=06ea3c8b3e8f9b6a6abd700000a16608f8a6db4f;p=portage.git xtermTitleReset: revert behavior for bug #348460 --- diff --git a/pym/portage/output.py b/pym/portage/output.py index a195db4fc..5e8b89e0e 100644 --- a/pym/portage/output.py +++ b/pym/portage/output.py @@ -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: