summaryrefslogtreecommitdiff
path: root/src/mailman/commands/cli_withlist.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/mailman/commands/cli_withlist.py')
-rw-r--r--src/mailman/commands/cli_withlist.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/mailman/commands/cli_withlist.py b/src/mailman/commands/cli_withlist.py
index 58862985d..e514c798f 100644
--- a/src/mailman/commands/cli_withlist.py
+++ b/src/mailman/commands/cli_withlist.py
@@ -172,7 +172,6 @@ class Withlist:
readline.parse_and_bind('tab: complete')
except ImportError:
pass
-
sys.ps1 = config.shell.prompt + ' '
interact(upframe=False, banner=banner, overrides=overrides)
@@ -230,8 +229,8 @@ As another example, say you wanted to change the display name for a particular
mailing list. You could put the following function in a file called
'change.pw':
- def change(mlist, real_name):
- mlist.real_name = real_name
+ def change(mlist, display_name):
+ mlist.display_name = display_name
# Required to save changes to the database.
commit()