~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/app/browser/lazrjs.py

  • Committer: Steve Kowalik
  • Date: 2011-09-13 05:23:16 UTC
  • mto: This revision was merged to the branch mainline in revision 13939.
  • Revision ID: stevenk@ubuntu.com-20110913052316-hl7fzgsklq9jakwq
Chip away at canonical.lazr a little more.

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
 
19
19
import simplejson
20
20
 
 
21
from lazr.enum import IEnumeratedType
 
22
from lazr.restful.declarations import LAZR_WEBSERVICE_EXPORTED
 
23
from lazr.restful.utils import (
 
24
    get_current_browser_request,
 
25
    safe_hasattr,
 
26
    )
21
27
from zope.app.pagetemplate.viewpagetemplatefile import ViewPageTemplateFile
22
28
from zope.component import getUtility
23
29
from zope.security.checker import canAccess, canWrite
27
33
    )
28
34
from zope.schema.vocabulary import getVocabularyRegistry
29
35
 
30
 
from lazr.enum import IEnumeratedType
31
 
from lazr.restful.declarations import LAZR_WEBSERVICE_EXPORTED
32
 
from canonical.lazr.utils import get_current_browser_request
33
 
from canonical.lazr.utils import safe_hasattr
34
 
 
35
36
from canonical.launchpad.webapp.interfaces import ILaunchBag
36
37
from canonical.launchpad.webapp.publisher import canonical_url
37
38
from canonical.launchpad.webapp.vocabulary import IHugeVocabulary