~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/services/job/runner.py

  • Committer: Aaron Bentley
  • Date: 2011-08-19 14:12:28 UTC
  • mto: This revision was merged to the branch mainline in revision 13737.
  • Revision ID: aaron@canonical.com-20110819141228-1vgql2i10b757zyr
Special-case process-job-source.

Show diffs side-by-side

added added

removed removed

Lines of Context:
592
592
 
593
593
    def add_my_options(self):
594
594
        if self.runner_class is TwistedJobRunner:
595
 
            self.parser.add_option(
596
 
                '--log-twisted', action='store_true', default=False,
597
 
                help='Enable extra Twisted logging.')
 
595
            self.add_log_twisted_option()
 
596
 
 
597
    def add_log_twisted_option(self):
 
598
        self.parser.add_option(
 
599
            '--log-twisted', action='store_true', default=False,
 
600
            help='Enable extra Twisted logging.')
598
601
 
599
602
    @property
600
603
    def dbuser(self):