~launchpad-pqm/launchpad/devel

« back to all changes in this revision

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

  • Committer: Leonard Richardson
  • Date: 2010-03-11 19:58:22 UTC
  • mto: This revision was merged to the branch mainline in revision 10519.
  • Revision ID: leonard.richardson@canonical.com-20100311195822-2is1s7hav0t9kxh1
Minor cleanup.

Show diffs side-by-side

added added

removed removed

Lines of Context:
41
41
    # Request the WADL from the root resource.
42
42
    # We do this by creating a request object asking for a WADL
43
43
    # representation.
44
 
    for version in []:#config.active_versions:
 
44
    for version in config.active_versions:
45
45
        url = urlparse.urljoin(allvhosts.configs['api'].rooturl, version)
46
46
        request = WebServiceTestRequest(version=version, environ={
47
47
            'SERVER_URL': url,