From 6379e5dd27b5fd76939ac7d3a0ba07520451cd90 Mon Sep 17 00:00:00 2001 From: Arfrever Frehtes Taifersar Arahesis Date: Fri, 25 Sep 2009 05:29:02 +0000 Subject: Use list comprehensions instead of filter() or map() in some places for compatibility with Python 3. svn path=/main/trunk/; revision=14421 --- bin/dispatch-conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin/dispatch-conf') diff --git a/bin/dispatch-conf b/bin/dispatch-conf index 5247cdb60..bf4cac611 100755 --- a/bin/dispatch-conf +++ b/bin/dispatch-conf @@ -205,7 +205,7 @@ class dispatch: else: return True - confs = filter (f, confs) + confs = [x for x in confs if f(x)] # # Interactively process remaining -- cgit v1.2.3-1-g7c22