Skip to content

Commit

Permalink
Merge pull request twisted#80 from alex/patch-1
Browse files Browse the repository at this point in the history
Use @Implementer instead of @implements
  • Loading branch information
glyph committed Aug 29, 2015
2 parents 77cc51c + 03823c4 commit 4e62827
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions klein/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
from twisted.web.server import Site, Request
from twisted.internet import reactor

from zope.interface import implements
from zope.interface import implementer

from klein.resource import KleinResource
from klein.interfaces import IKleinRequest
Expand All @@ -29,8 +29,8 @@ def _call(instance, f, *args, **kwargs):
return f(instance, *args, **kwargs)


@implementer(IKleinRequest)
class KleinRequest(object):
implements(IKleinRequest)

def __init__(self, request):
self.branch_segments = ['']
Expand Down

0 comments on commit 4e62827

Please sign in to comment.