mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-06-19 15:53:48 +00:00
use @implementer instead of implements
Also, derive some more things from 'object'
This commit is contained in:
@ -2,14 +2,14 @@ import hotshot.stats, os, random, sys
|
||||
|
||||
from pyutil import benchutil, randutil # http://tahoe-lafs.org/trac/pyutil
|
||||
|
||||
from zope.interface import implements
|
||||
from zope.interface import implementer
|
||||
from allmydata import dirnode, uri
|
||||
from allmydata.interfaces import IFileNode
|
||||
from allmydata.mutable.filenode import MutableFileNode
|
||||
from allmydata.immutable.filenode import ImmutableFileNode
|
||||
|
||||
class ContainerNode:
|
||||
implements(IFileNode)
|
||||
@implementer(IFileNode)
|
||||
class ContainerNode(object):
|
||||
# dirnodes sit on top of a "container" filenode, from which it extracts a
|
||||
# writekey
|
||||
def __init__(self):
|
||||
|
Reference in New Issue
Block a user