gen_plug_in_utils.py python3 changes
- Use list() on filter() output
Change-Id: I6aa3255d1c4ce463a6246672fb29e604dc4da5f6
Signed-off-by: Michael Walsh <micwalsh@us.ibm.com>
diff --git a/lib/gen_plug_in_utils.py b/lib/gen_plug_in_utils.py
index d1eb8f6..fa62674 100755
--- a/lib/gen_plug_in_utils.py
+++ b/lib/gen_plug_in_utils.py
@@ -290,7 +290,7 @@
# Convert plug_in_dir_paths to a list of base names.
plug_in_dir_paths = \
- filter(None, map(os.path.basename, plug_in_dir_paths.split(":")))
+ list(filter(None, map(os.path.basename, plug_in_dir_paths.split(":"))))
# Check for each of the user's required plug-ins.
for plug_in_name in req_plug_in_names: