diff options
author | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2009-09-25 05:29:02 +0000 |
---|---|---|
committer | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2009-09-25 05:29:02 +0000 |
commit | 6379e5dd27b5fd76939ac7d3a0ba07520451cd90 (patch) | |
tree | 27fa3c4348002b83efbb3239fb4218adb62cc4c7 /bin/dispatch-conf | |
parent | Fix more. (diff) | |
download | portage-idfetch-6379e5dd27b5fd76939ac7d3a0ba07520451cd90.tar.gz portage-idfetch-6379e5dd27b5fd76939ac7d3a0ba07520451cd90.tar.bz2 portage-idfetch-6379e5dd27b5fd76939ac7d3a0ba07520451cd90.zip |
Use list comprehensions instead of filter() or map() in some places for compatibility with Python 3.
svn path=/main/trunk/; revision=14421
Diffstat (limited to 'bin/dispatch-conf')
-rwxr-xr-x | bin/dispatch-conf | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/dispatch-conf b/bin/dispatch-conf index 5247cdb6..bf4cac61 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 |