name cleanup

This commit is contained in:
Brian Warner 2017-02-22 11:28:49 -08:00
parent 80661392b6
commit 3101ca51db
4 changed files with 4 additions and 4 deletions

View File

@ -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

View File

@ -14,7 +14,7 @@ class IReceive(Interface):
pass
class IRendezvousConnector(Interface):
pass
class INameplateListing(Interface):
class INameplateLister(Interface):
pass
class ICode(Interface):
pass

View File

@ -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):

View File

@ -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