~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to cronscripts/process-job-source.py

  • Committer: Launchpad Patch Queue Manager
  • Date: 2011-08-03 11:23:34 UTC
  • mfrom: (13457.6.16 upgrade-stderr)
  • Revision ID: launchpad@pqm.canonical.com-20110803112334-acnupsa7jmzmdeet
[r=stevenk][bug=819751] Fix the implementation of several methods in
 LoggingUIFactory.

Show diffs side-by-side

added added

removed removed

Lines of Context:
7
7
 
8
8
__metaclass__ = type
9
9
 
 
10
import sys
 
11
 
10
12
import _pythonpath
11
 
 
12
 
import sys
13
 
 
14
13
from twisted.python import log
15
14
 
16
 
from lp.services.config import config
 
15
from canonical.config import config
17
16
from lp.services.job import runner
18
17
from lp.services.job.runner import JobCronScript
19
18
 
48
47
        # Override attributes that are normally set in __init__().
49
48
        return getattr(runner, runner_class_name)
50
49
 
51
 
    def add_my_options(self):
52
 
        self.add_log_twisted_option()
53
 
 
54
50
    def handle_options(self):
55
51
        if len(self.args) != 1:
56
52
            self.parser.print_help()