diff options
| author | Barry Warsaw | 2010-01-27 12:11:56 -0500 |
|---|---|---|
| committer | Barry Warsaw | 2010-01-27 12:11:56 -0500 |
| commit | ddb2108e49a5a2d2142c275cf41623b85879b1b5 (patch) | |
| tree | ec7f3d161a2e2d201a2805a12972d7fb6a499f8b /src/mailman/commands/cli_control.py | |
| parent | 7519bcceef271e04aea0237f58cd1e0787a5dce1 (diff) | |
| download | mailman-ddb2108e49a5a2d2142c275cf41623b85879b1b5.tar.gz mailman-ddb2108e49a5a2d2142c275cf41623b85879b1b5.tar.zst mailman-ddb2108e49a5a2d2142c275cf41623b85879b1b5.zip | |
Diffstat (limited to 'src/mailman/commands/cli_control.py')
| -rw-r--r-- | src/mailman/commands/cli_control.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mailman/commands/cli_control.py b/src/mailman/commands/cli_control.py index bd108ecd3..e6c9c83b3 100644 --- a/src/mailman/commands/cli_control.py +++ b/src/mailman/commands/cli_control.py @@ -127,11 +127,11 @@ class Start: def kill_watcher(sig): try: - with open(config.PIDFILE) as fp: + with open(config.PID_FILE) as fp: pid = int(fp.read().strip()) except (IOError, ValueError) as error: # For i18n convenience - print >> sys.stderr, _('PID unreadable in: $config.PIDFILE') + print >> sys.stderr, _('PID unreadable in: $config.PID_FILE') print >> sys.stderr, error print >> sys.stderr, _('Is the master even running?') return @@ -143,7 +143,7 @@ def kill_watcher(sig): print >> sys.stderr, _('No child with pid: $pid') print >> sys.stderr, error print >> sys.stderr, _('Stale pid file removed.') - os.unlink(config.PIDFILE) + os.unlink(config.PID_FILE) |
