~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to utilities/create-lp-wadl-and-apidoc.py

  • Committer: William Grant
  • Date: 2012-01-01 03:03:28 UTC
  • mto: This revision was merged to the branch mainline in revision 14614.
  • Revision ID: william.grant@canonical.com-20120101030328-xtkp6ob1q8h40sxw
Format the non-contrib bits of lib.

Show diffs side-by-side

added added

removed removed

Lines of Context:
10
10
    % LPCONFIG=development bin/py utilities/create-lp-wadl-and-apidoc.py \\
11
11
      "lib/canonical/launchpad/apidoc/wadl-development-%(version)s.xml"
12
12
"""
13
 
import _pythonpath
 
13
import _pythonpath  # Not lint, actually needed.
14
14
 
15
15
from multiprocessing import Process
16
16
import optparse
19
19
 
20
20
import bzrlib
21
21
from bzrlib.branch import Branch
22
 
from lazr.restful.interfaces import IWebServiceConfiguration
23
22
from zope.component import getUtility
24
23
from zope.pagetemplate.pagetemplatefile import PageTemplateFile
25
24
 
26
 
from lp.services.scripts import execute_zcml_for_scripts
27
25
from lp.services.webservice.wadl import (
28
26
    generate_html,
29
27
    generate_json,
30
28
    generate_wadl,
31
29
    )
 
30
from lp.services.scripts import execute_zcml_for_scripts
32
31
from lp.systemhomes import WebServiceApplication
 
32
from lazr.restful.interfaces import IWebServiceConfiguration
33
33
 
34
34
 
35
35
def write(filename, content, timestamp):