~launchpad-pqm/launchpad/devel

« back to all changes in this revision

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

  • Committer: Steve Kowalik
  • Date: 2011-08-07 04:05:52 UTC
  • mto: This revision was merged to the branch mainline in revision 13626.
  • Revision ID: stevenk@ubuntu.com-20110807040552-mwnxo0flmhvl35e8
Correct the notification based on review comments, and remove request{,ed}
from the function names, switching to create{,d}.

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
 
from lp.services.webservice.wadl import (
 
25
from canonical.launchpad.rest.wadl import (
28
26
    generate_html,
29
27
    generate_json,
30
28
    generate_wadl,
31
29
    )
32
 
from lp.systemhomes import WebServiceApplication
 
30
from canonical.launchpad.scripts import execute_zcml_for_scripts
 
31
from canonical.launchpad.systemhomes import WebServiceApplication
 
32
from lazr.restful.interfaces import IWebServiceConfiguration
33
33
 
34
34
 
35
35
def write(filename, content, timestamp):