~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/scripts/garbo.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:
14
14
    timedelta,
15
15
    )
16
16
import logging
17
 
import multiprocessing
18
17
import os
19
18
import threading
20
19
import time
21
20
 
 
21
from contrib.glock import (
 
22
    GlobalLock,
 
23
    LockAlreadyAcquired,
 
24
    )
 
25
import multiprocessing
22
26
from psycopg2 import IntegrityError
23
27
import pytz
24
28
from storm.locals import (
30
34
from zope.component import getUtility
31
35
from zope.security.proxy import removeSecurityProxy
32
36
 
33
 
from contrib.glock import (
34
 
    GlobalLock,
35
 
    LockAlreadyAcquired,
36
 
    )
37
37
from canonical.config import config
38
38
from canonical.database import postgresql
39
39
from canonical.database.sqlbase import (
42
42
    sqlvalues,
43
43
    )
44
44
from canonical.launchpad.database.emailaddress import EmailAddress
45
 
from canonical.launchpad.database.librarian import (
46
 
    LibraryFileAlias,
47
 
    TimeLimitedToken,
48
 
    )
 
45
from canonical.launchpad.database.librarian import TimeLimitedToken
49
46
from canonical.launchpad.database.oauth import OAuthNonce
50
47
from canonical.launchpad.database.openidconsumer import OpenIDConsumerNonce
51
48
from canonical.launchpad.interfaces.emailaddress import EmailAddressStatus