~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/canonical/lazr/canonicalurl.py

  • Committer: Curtis Hovey
  • Date: 2011-12-28 17:03:06 UTC
  • mto: This revision was merged to the branch mainline in revision 14605.
  • Revision ID: curtis.hovey@canonical.com-20111228170306-n9fz94h85ckaoaf3
Separate test-authoring classes from test-running classes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
14
14
 
15
15
from zope.component import queryAdapter
16
16
 
17
 
from lp.services.webapp.interfaces import NoCanonicalUrl
18
17
# XXX mars 2008-07-17
19
18
# This function should be moved into lazr.canonicalurl.
20
19
# See bug #185958.
21
20
from lp.services.webapp.publisher import canonical_url_iterator
 
21
from lp.services.webapp.interfaces import NoCanonicalUrl
22
22
 
23
23
 
24
24
def nearest_context_with_adapter(obj, interface, name=u''):