~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/scripts/utilities/killservice.py

  • Committer: Gary Poster
  • Date: 2009-05-01 00:25:52 UTC
  • mto: (8329.1.1 buildout2)
  • mto: This revision was merged to the branch mainline in revision 8489.
  • Revision ID: gary.poster@canonical.com-20090501002552-3hdbl9k771juuy1z
test works, nominally; and bin/py is a bit more functional.  problems with import warnings are more serious because they cause tests to fail.

Show diffs side-by-side

added added

removed removed

Lines of Context:
14
14
from canonical.launchpad.mailman.runmailman import stop_mailman
15
15
 
16
16
 
17
 
def script():
 
17
def main():
18
18
    parser = OptionParser('Usage: %prog [options] [SERVICE ...]')
19
19
    logger_options(parser, logging.INFO)
20
20
    (options, args) = parser.parse_args()