~cjwatson/lazr.restful/double-closing-brace

« back to all changes in this revision

Viewing changes to src/lazr/restful/publisher.py

  • Committer: Colin Watson
  • Date: 2016-02-17 01:07:21 UTC
  • Revision ID: cjwatson@canonical.com-20160217010721-4d5fqqml5q97ss59
Switch zope.interface, zope.component, and lazr.delegates users from class advice to class decorators.

Show diffs side-by-side

added added

removed removed

Lines of Context:
29
29
from zope.interface import (
30
30
    alsoProvides,
31
31
    implementer,
32
 
    implements,
33
32
    )
34
33
from zope.publisher.interfaces import NotFound
35
34
from zope.publisher.interfaces.browser import IBrowserRequest
246
245
        return value
247
246
 
248
247
 
 
248
@implementer(IWebServiceClientRequest)
249
249
class WebServiceRequestTraversal(object):
250
250
    """Mixin providing web-service resource wrapping in traversal.
251
251
 
252
252
    This should be mixed in the request using to the base publication used.
253
253
    """
254
 
    implements(IWebServiceClientRequest)
255
254
 
256
255
    VERSION_ANNOTATION = 'lazr.restful.version'
257
256