Revert "Fix for module level import not at top of file"
This reverts commit 47375aa789dcb11ba969895f61dfb12a773e2164.
Signed-off-by: George Keishing <gkeishin@in.ibm.com>
Change-Id: Icc40562b861262d8fb72d68b43654334985eea4d
diff --git a/bin/generate_inventory b/bin/generate_inventory
index 80f725e..3654682 100755
--- a/bin/generate_inventory
+++ b/bin/generate_inventory
@@ -3,9 +3,6 @@
Generate an inventory variable file containing a list of properties
fields from the YAML phosphor-dbus-interfaces repository.
"""
-
-from gen_print import *
-
import sys
import os
import yaml
@@ -13,6 +10,7 @@
lib_path = sys.path[0] + "/../lib"
sys.path.insert(0, lib_path)
+from gen_print import *
# This list will be longer when more development codes are available.
inventory_items = ['fru', 'core', 'fan', 'fan_wc', 'gpu']