summaryrefslogtreecommitdiffstats
path: root/ipaplatform
diff options
context:
space:
mode:
authorPetr Viktorin <pviktori@redhat.com>2015-08-11 16:42:28 +0200
committerJan Cholasta <jcholast@redhat.com>2015-09-01 11:42:01 +0200
commit5a9141dc409a4efe5a19d654319529d7c98a667a (patch)
tree9d386dca310df7af63b7d65e42b5e4d6a6188e8f /ipaplatform
parent3bf91eab25c602a6fad2665456f57e8629c5a6f4 (diff)
downloadfreeipa-5a9141dc409a4efe5a19d654319529d7c98a667a.tar.gz
freeipa-5a9141dc409a4efe5a19d654319529d7c98a667a.tar.xz
freeipa-5a9141dc409a4efe5a19d654319529d7c98a667a.zip
Replace filter() calls with list comprehensions
In Python 3, filter() returns an iterator. Use list comprehensions instead. Reviewed-By: Christian Heimes <cheimes@redhat.com> Reviewed-By: Jan Cholasta <jcholast@redhat.com>
Diffstat (limited to 'ipaplatform')
-rw-r--r--ipaplatform/setup.py.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/ipaplatform/setup.py.in b/ipaplatform/setup.py.in
index 944e68699..08f6c30dd 100644
--- a/ipaplatform/setup.py.in
+++ b/ipaplatform/setup.py.in
@@ -63,7 +63,7 @@ def setup_package():
description = DOCLINES[0],
long_description = "\n".join(DOCLINES[2:]),
download_url = "http://www.freeipa.org/page/Downloads",
- classifiers=filter(None, CLASSIFIERS.split('\n')),
+ classifiers=[line for line in CLASSIFIERS.split('\n') if line],
package_dir = {'ipaplatform': ''},
packages = ["ipaplatform",
"ipaplatform.base",