Commit e7b8290e authored by Guido van Rossum's avatar Guido van Rossum

Fix comment typo, and remove double space.

parent 682753c6
...@@ -610,7 +610,7 @@ class StorageServer: ...@@ -610,7 +610,7 @@ class StorageServer:
speed client cache verification when a client disconnects speed client cache verification when a client disconnects
for a short period of time. for a short period of time.
transaction_timout -- The maximum amount of time to wait for transaction_timeout -- The maximum amount of time to wait for
a transaction to commit after acquiring the storage lock. a transaction to commit after acquiring the storage lock.
If the transaction takes too long, the client connection If the transaction takes too long, the client connection
will be closed and the transaction aborted. will be closed and the transaction aborted.
...@@ -813,7 +813,7 @@ class TimeoutThread(threading.Thread): ...@@ -813,7 +813,7 @@ class TimeoutThread(threading.Thread):
# being released. (Serialized by asyncore.) # being released. (Serialized by asyncore.)
self._cond.acquire() self._cond.acquire()
try: try:
assert self._client is not None assert self._client is not None
self._client = None self._client = None
self._deadline = None self._deadline = None
finally: finally:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment