~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to scripts/script-monitor.py

  • Committer: Ian Booth
  • Date: 2011-12-23 13:48:28 UTC
  • mto: This revision was merged to the branch mainline in revision 14595.
  • Revision ID: ian.booth@canonical.com-20111223134828-i6tlk56o433bstng
Write tests to ensure limited view permission for teams works with the API

Show diffs side-by-side

added added

removed removed

Lines of Context:
8
8
__metaclass__ = type
9
9
__all__ = ['check_script']
10
10
 
11
 
import _pythonpath
12
 
 
13
11
from datetime import (
14
12
    datetime,
15
13
    timedelta,
20
18
import sys
21
19
from time import strftime
22
20
 
23
 
from lp.scripts.scriptmonitor import check_script
24
 
from lp.services.database.sqlbase import connect
 
21
import _pythonpath
 
22
 
 
23
from canonical.database.sqlbase import connect
25
24
from lp.services.scripts import (
26
25
    db_options,
27
26
    logger,
28
27
    logger_options,
29
28
    )
 
29
from lp.scripts.scriptmonitor import check_script
30
30
 
31
31
 
32
32
def main():