From 5a9141dc409a4efe5a19d654319529d7c98a667a Mon Sep 17 00:00:00 2001 From: Petr Viktorin Date: Tue, 11 Aug 2015 16:42:28 +0200 Subject: Replace filter() calls with list comprehensions In Python 3, filter() returns an iterator. Use list comprehensions instead. Reviewed-By: Christian Heimes Reviewed-By: Jan Cholasta --- ipaplatform/setup.py.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ipaplatform') 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", -- cgit