Fixed PEP 8 style using autopep8
Used autopep8 to correct styling.
Ran autopep8 on openbmc-test-automation, autopep8 is not
able to fix all styling issues. There is still around
1000 styling violations in openbmc-test-automation.
More information on autopep8 can be found here,
https://pypi.python.org/pypi/autopep8
Change-Id: Iddc131da1d74d978eb3dd0fdd6ce5d0a0e49b0f8
Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
diff --git a/lib/gen_plug_in_utils.py b/lib/gen_plug_in_utils.py
index 34514c6..685474c 100755
--- a/lib/gen_plug_in_utils.py
+++ b/lib/gen_plug_in_utils.py
@@ -13,7 +13,6 @@
def get_plug_in_package_name(case=None):
-
r"""
Return the plug-in package name (e.g. "OS_Console", "DB_Logging").
@@ -34,7 +33,6 @@
def return_plug_vars():
-
r"""
Return an OrderedDict which is sorted by key and which contains all of the
plug-in environment variables.
@@ -63,8 +61,8 @@
plug_var_dict = \
collections.OrderedDict(sorted({k: v for (k, v) in
- os.environ.items()
- if re.match(regex, k)}.items()))
+ os.environ.items()
+ if re.match(regex, k)}.items()))
# Register password values to prevent printing them out. Any plug var
# whose name ends in PASSWORD will be registered.
@@ -76,7 +74,6 @@
def sprint_plug_vars(headers=1):
-
r"""
Sprint the plug-in environment variables (i.e. those that begin with
AUTOBOOT_ those that begin with <plug-in package_name>_ in upper case
@@ -105,7 +102,6 @@
def get_plug_vars():
-
r"""
Get all plug-in variables and put them in corresponding global variables.
@@ -130,7 +126,6 @@
def get_plug_default(var_name,
default=None):
-
r"""
Derive and return a default value for the given parm variable.
@@ -211,7 +206,6 @@
def srequired_plug_in(req_plug_in_names,
plug_in_dir_paths=None):
-
r"""
Return an empty string if the required plug-ins are found in
plug_in_dir_paths. Otherwise, return an error string.
@@ -255,7 +249,6 @@
def required_plug_in(req_plug_in_names,
plug_in_dir_paths=None):
-
r"""
Return True if each of the plug-ins in req_plug_in_names can be found in
plug_in_dir_paths Otherwise, return False and print an error message to