From db40f246e0ad5eefe7e03208e1bdb20439a34b38 Mon Sep 17 00:00:00 2001 From: Per Cederqvist <ceder@lysator.liu.se> Date: Sat, 18 Oct 2003 12:24:42 +0000 Subject: [PATCH] (controller.loop): Simplify code. --- pcl_expect/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pcl_expect/__init__.py b/pcl_expect/__init__.py index ebda8bf..98c3555 100644 --- a/pcl_expect/__init__.py +++ b/pcl_expect/__init__.py @@ -171,7 +171,7 @@ class controller: debug("Waiting for input on %s" % r) else: debug("Polling for input on %s" % r) - (r, w, e) = select.select([x for x in self.__inputs], [], [], t) + (r, w, e) = select.select(list(self.__inputs), [], [], t) self.__acted = False -- GitLab