~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to scripts/close-account.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__ = []
10
10
 
11
 
import _pythonpath
12
 
 
13
11
from optparse import OptionParser
14
12
import sys
15
13
 
16
 
from lp.answers.enums import QuestionStatus
17
 
from lp.registry.interfaces.person import PersonCreationRationale
18
 
from lp.services.database.sqlbase import (
 
14
import _pythonpath
 
15
 
 
16
from canonical.database.sqlbase import (
19
17
    connect,
20
18
    sqlvalues,
21
19
    )
24
22
    logger,
25
23
    logger_options,
26
24
    )
 
25
from lp.answers.enums import QuestionStatus
 
26
from lp.registry.interfaces.person import PersonCreationRationale
27
27
 
28
28
 
29
29
def close_account(con, log, username):