From 15ca77bc6aaed64396d20bc0085f4b30a0a8302f Mon Sep 17 00:00:00 2001 From: Florian Mounier Date: Thu, 2 Jun 2016 15:19:27 +0200 Subject: [PATCH] Code style --- client/wdb/_compat.py | 5 +++-- client/wdb/ui.py | 1 - 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/client/wdb/_compat.py b/client/wdb/_compat.py index ddf231f2..3bc83793 100644 --- a/client/wdb/_compat.py +++ b/client/wdb/_compat.py @@ -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): @@ -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: diff --git a/client/wdb/ui.py b/client/wdb/ui.py index 15f5922d..3f1ce7b4 100644 --- a/client/wdb/ui.py +++ b/client/wdb/ui.py @@ -30,7 +30,6 @@ import os import re -import signal import sys import time import traceback