From 8f430c1d1ddf74a851a1f3fd2d9c51ef4abe0308 Mon Sep 17 00:00:00 2001 From: Andrea Crotti Date: Wed, 14 Mar 2012 16:50:23 +0000 Subject: the sys prompt can be safely set also when the readline import fails --- src/mailman/commands/cli_withlist.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/mailman/commands/cli_withlist.py') diff --git a/src/mailman/commands/cli_withlist.py b/src/mailman/commands/cli_withlist.py index 3b1b36b1a..58862985d 100644 --- a/src/mailman/commands/cli_withlist.py +++ b/src/mailman/commands/cli_withlist.py @@ -172,8 +172,8 @@ class Withlist: readline.parse_and_bind('tab: complete') except ImportError: pass - else: - sys.ps1 = config.shell.prompt + ' ' + + sys.ps1 = config.shell.prompt + ' ' interact(upframe=False, banner=banner, overrides=overrides) def _details(self): -- cgit v1.2.3-70-g09d2