commit | c191ed70991307763fa4e5b62b7859e1161cf127 | [log] [tgz] |
---|---|---|
author | George Keishing <gkeishin@in.ibm.com> | Mon Jun 10 07:45:59 2019 -0500 |
committer | George Keishing <gkeishin@in.ibm.com> | Mon Jun 10 07:46:28 2019 -0500 |
tree | 6fdd4028ce5476caf307231c7e5ae1915c679fd1 | |
parent | 43e26039f145fa71e976d3ae6f21a96c0b7af84e [diff] [blame] |
Fix python3.x compatibility for stable 2.0 branch Change-Id: I958d02873e4ba76be72230365dff8e500fa31b3c Signed-off-by: George Keishing <gkeishin@in.ibm.com>
diff --git a/lib/gen_plug_in.py b/lib/gen_plug_in.py index 1bd70a1..2cfd3e0 100755 --- a/lib/gen_plug_in.py +++ b/lib/gen_plug_in.py
@@ -6,7 +6,11 @@ import sys import os -import commands +try: + import commands +except ImportError: + import subprocess + import glob import gen_print as gp