~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/services/scripts/base.py

  • Committer: Gavin Panella
  • Date: 2011-04-18 15:40:02 UTC
  • mto: This revision was merged to the branch mainline in revision 12855.
  • Revision ID: gavin.panella@canonical.com-20110418154002-s6z031f3jwfikxc7
Format imports, fix lint.

Show diffs side-by-side

added added

removed removed

Lines of Context:
11
11
    'SilentLaunchpadScriptFailure',
12
12
    ]
13
13
 
 
14
from ConfigParser import SafeConfigParser
14
15
from contextlib import contextmanager
15
 
from ConfigParser import SafeConfigParser
16
16
from cProfile import Profile
17
17
import datetime
18
18
import logging
404
404
            date_completed=date_completed)
405
405
        self.txn.commit()
406
406
 
 
407
 
407
408
@contextmanager
408
409
def disable_oops_handler(logger):
409
410
    oops_handlers = []