~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/translations/scripts/translations_to_branch.py

  • Committer: William Grant
  • Date: 2012-01-01 07:14:04 UTC
  • mto: This revision was merged to the branch mainline in revision 14614.
  • Revision ID: william.grant@canonical.com-20120101071404-6cwyfuxq8h63mfhv
Fix some lp.codehosting imports to be first again. It loads bzr plugins :(

Show diffs side-by-side

added added

removed removed

Lines of Context:
13
13
    )
14
14
import os.path
15
15
 
 
16
# FIRST Ensure correct plugins are loaded. Do not delete this comment or the
 
17
# line below this comment.
 
18
import lp.codehosting
 
19
 
16
20
from bzrlib.errors import NotBranchError
17
21
from bzrlib.revision import NULL_REVISION
18
22
import pytz
31
35
    ConcurrentUpdateError,
32
36
    DirectBranchCommit,
33
37
    )
34
 
# Load the normal plugin set.  Your linter may complain, and automated
35
 
# imports formatting tools will rearrange this, but keep it above the
36
 
# other Launchpad imports.
37
 
import lp.codehosting
38
38
from lp.codehosting.vfs import get_rw_server
39
39
from lp.services.config import config
40
40
from lp.services.database.lpstorm import IMasterStore