Skip to content

Commit

Permalink
user implementer instead of implements
Browse files Browse the repository at this point in the history
  • Loading branch information
rnixx committed May 18, 2012
1 parent 04240d9 commit 5cf0916
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/node/ext/zodb/parts.py
Expand Up @@ -7,7 +7,7 @@
plumb,
)
from persistent import Persistent
from zope.interface import implements
from zope.interface import implementer
from node.interfaces import (
INode,
IAttributes,
Expand All @@ -24,10 +24,10 @@
)


@implementer(IZODBNode)
class ZODBPart(Part):
"""This part requires plumbed class to inherit from Persistent.
"""
implements(IZODBNode)

@extend
@property
Expand Down Expand Up @@ -88,9 +88,8 @@ def storage(self):
return OOBTodict()


@implementer(IAttributes)
class ZODBAttributes(Part):
implements(IAttributes)

attribute_access_for_attrs = default(False)
attributes_factory = default(None)

Expand Down

0 comments on commit 5cf0916

Please sign in to comment.