Permalink
Browse files

typo

  • Loading branch information...
1 parent 96863b5 commit 027c007bb85d6e1837f551f73eecd0af4b924199 Satoshi Tanimoto committed Jan 15, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 ddlockclient/__init__.py
@@ -129,7 +129,7 @@ def get_sock(self, addr):
return sock
def trylock(self, name, timeout=None):
- return self._trylock_guranteed(name, timeout)
+ return self._trylock_wait(name, timeout)
def _trylock(self, name):
lock = None
@@ -142,7 +142,7 @@ def _trylock(self, name):
return lock
- def _trylock_guranteed(self, name, timeout=None):
+ def _trylock_wait(self, name, timeout=None):
lock = None
try_until = time.time()
if timeout is not None:

0 comments on commit 027c007

Please sign in to comment.