~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:10:25 UTC
  • mto: This revision was merged to the branch mainline in revision 14614.
  • Revision ID: william.grant@canonical.com-20120101031025-pcl0na3sbgfrztcw
utilities

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  # Not lint, actually needed.
 
13
import _pythonpath
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
22
23
from zope.component import getUtility
23
24
from zope.pagetemplate.pagetemplatefile import PageTemplateFile
24
25
 
 
26
from lp.services.scripts import execute_zcml_for_scripts
25
27
from lp.services.webservice.wadl import (
26
28
    generate_html,
27
29
    generate_json,
28
30
    generate_wadl,
29
31
    )
30
 
from lp.services.scripts import execute_zcml_for_scripts
31
32
from lp.systemhomes import WebServiceApplication
32
 
from lazr.restful.interfaces import IWebServiceConfiguration
33
33
 
34
34
 
35
35
def write(filename, content, timestamp):