Skip to content

Commit

Permalink
Rename ManualEnpoint to ManualEndpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
Bram van den Heuvel committed Jun 23, 2017
1 parent 5b0b9b4 commit d9d0cc2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion endpoint.py
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@ def _process_sendqueue(self):
self._dispersy.statistics.cur_sendqueue = len(self._sendqueue)


class ManualEnpoint(StandaloneEndpoint):
class ManualEndpoint(StandaloneEndpoint):

def __init__(self, *args, **kwargs):
StandaloneEndpoint.__init__(self, *args, **kwargs)
Expand Down
4 changes: 2 additions & 2 deletions tests/dispersytestclass.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

from ..discovery.community import PEERCACHE_FILENAME
from ..dispersy import Dispersy
from ..endpoint import ManualEnpoint
from ..endpoint import ManualEndpoint
from ..util import blocking_call_on_reactor_thread
from .debugcommunity.community import DebugCommunity
from .debugcommunity.node import DebugNode
Expand Down Expand Up @@ -123,7 +123,7 @@ def create_nodes(self, amount=1, store_identity=True, tunnel=False, community_cl
memory_database_argument = {'database_filename': u":memory:"} if memory_database else {}
working_directory = unicode(mkdtemp(suffix="_dispersy_test_session"))

dispersy = Dispersy(ManualEnpoint(0), working_directory, **memory_database_argument)
dispersy = Dispersy(ManualEndpoint(0), working_directory, **memory_database_argument)
dispersy.start(autoload_discovery=autoload_discovery)

self.dispersy_objects.append(dispersy)
Expand Down

0 comments on commit d9d0cc2

Please sign in to comment.