name cleanup
This commit is contained in:
parent
80661392b6
commit
3101ca51db
|
@ -26,7 +26,7 @@ class Code(object):
|
|||
def wire(self, wormhole, rendezvous_connector, nameplate_lister):
|
||||
self._W = _interfaces.IWormhole(wormhole)
|
||||
self._RC = _interfaces.IRendezvousConnector(rendezvous_connector)
|
||||
self._NL = _interfaces.INameplateListing(nameplate_lister)
|
||||
self._NL = _interfaces.INameplateLister(nameplate_lister)
|
||||
|
||||
@m.state(initial=True)
|
||||
def S0_unknown(self): pass
|
||||
|
|
|
@ -14,7 +14,7 @@ class IReceive(Interface):
|
|||
pass
|
||||
class IRendezvousConnector(Interface):
|
||||
pass
|
||||
class INameplateListing(Interface):
|
||||
class INameplateLister(Interface):
|
||||
pass
|
||||
class ICode(Interface):
|
||||
pass
|
||||
|
|
|
@ -2,7 +2,7 @@ from zope.interface import implementer
|
|||
from automat import MethodicalMachine
|
||||
from . import _interfaces
|
||||
|
||||
@implementer(_interfaces.INameplateListing)
|
||||
@implementer(_interfaces.INameplateLister)
|
||||
class NameplateListing(object):
|
||||
m = MethodicalMachine()
|
||||
def __init__(self):
|
||||
|
|
|
@ -11,7 +11,7 @@ class RendezvousConnector(service.MultiService, object):
|
|||
def wire(self, mailbox, code, nameplate_lister):
|
||||
self._M = _interfaces.IMailbox(mailbox)
|
||||
self._C = _interfaces.ICode(code)
|
||||
self._NL = _interfaces.INameplateListing(nameplate_lister)
|
||||
self._NL = _interfaces.INameplateLister(nameplate_lister)
|
||||
|
||||
|
||||
# from Mailbox
|
||||
|
|
Loading…
Reference in New Issue
Block a user