From bf8b285acb8c2500e52ae2582f27513b9842de54 Mon Sep 17 00:00:00 2001 From: Barry Warsaw Date: Wed, 1 Jun 2011 17:09:32 -0400 Subject: Major terminology shift: * Queue runners are now called just 'Runners' since several of them don't manage queue directories. * Ban the term 'qrunner' too. * The master queue runner watcher should now just be called the 'master' or the 'master runner'. * bin/qrunner -> bin/runner * mailman.qrunner log file -> mailman.runner * master-qrunner.lck -> master.lck * master-qrunner.pid -> master.pid Also: * Remove some obsolete files * Begin the .txt -> .rst renaming --- src/mailman/core/runner.py | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'src/mailman/core/runner.py') diff --git a/src/mailman/core/runner.py b/src/mailman/core/runner.py index 3d876ac3d..c24563e68 100644 --- a/src/mailman/core/runner.py +++ b/src/mailman/core/runner.py @@ -54,15 +54,16 @@ class Runner: intercept_signals = True def __init__(self, name, slice=None): - """Create a queue runner. + """Create a runner. - :param slice: The slice number for this queue runner. This is passed - directly to the underlying `ISwitchboard` object. + :param slice: The slice number for this runner. This is passed + directly to the underlying `ISwitchboard` object. This is ignored + for runners that don't manage a queue. :type slice: int or None """ # Grab the configuration section. self.name = name - section = getattr(config, 'qrunner.' + name) + section = getattr(config, 'runner.' + name) substitutions = config.paths substitutions['name'] = name self.queue_directory = expand(section.path, substitutions) @@ -87,7 +88,7 @@ class Runner: def run(self): """See `IRunner`.""" - # Start the main loop for this queue runner. + # Start the main loop for this runner. try: while True: # Once through the loop that processes all the files in the -- cgit v1.2.3-70-g09d2