Skip to content

Commit

Permalink
Code style
Browse files Browse the repository at this point in the history
  • Loading branch information
paradoxxxzero committed Jun 2, 2016
1 parent b4c0cb9 commit 15ca77b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
5 changes: 3 additions & 2 deletions client/wdb/_compat.py
Expand Up @@ -219,7 +219,7 @@ def wait(object_list, timeout=None):
o._got_empty_message = True

ready_objects.update(waithandle_to_obj[h] for h in ready_handles)
return [o for o in object_list if o in ready_objects]
return [p for p in object_list if p in ready_objects]
else:
if hasattr(select, 'poll'):
def _poll(fds, timeout):
Expand All @@ -246,7 +246,8 @@ def _poll(fds, timeout):
def wait(object_list, timeout=None):
'''
Wait till an object in object_list is ready/readable.
Returns list of those objects in object_list which are ready/readable.
Returns list of those objects in object_list which are
ready/readable.
'''
if timeout is not None:
if timeout <= 0:
Expand Down
1 change: 0 additions & 1 deletion client/wdb/ui.py
Expand Up @@ -30,7 +30,6 @@

import os
import re
import signal
import sys
import time
import traceback
Expand Down

0 comments on commit 15ca77b

Please sign in to comment.