* We don't need to import LFUtils in lfcli_base

* local_realm in lf_attenmod is unused.
* local_realm in attenuator_profile is unused, because I'm switching to inheritance as part of my work eliminating redundancy.

Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
This commit is contained in:
Matthew Stidham
2021-10-04 11:48:42 -07:00
parent d3d3af77f5
commit 8f2fa4bf8c
4 changed files with 20 additions and 16 deletions

View File

@@ -19,7 +19,7 @@ if sys.version_info[0] != 3:
sys.path.append(os.path.join(os.path.abspath(__file__ + "../../../../")))
LFUtils = importlib.import_module("py-json.LANforge.LFUtils")
debug_printer = pprint.PrettyPrinter(indent=2)
LFRequest = importlib.import_module("py-json.LANforge.LFRequest")
@@ -205,7 +205,7 @@ class LFCliBase:
lf_r.addPostData(_data)
if debug_:
LFUtils.debug_printer.pprint(_data)
debug_printer.pprint(_data)
json_response = lf_r.json_post(show_error=debug_,
debug=debug_,
response_json_list_=response_json_list_,
@@ -243,7 +243,7 @@ class LFCliBase:
die_on_error_=self.exit_on_error)
lf_r.addPostData(_data)
if debug_:
LFUtils.debug_printer.pprint(_data)
debug_printer.pprint(_data)
json_response = lf_r.json_put(show_error=self.debug,
debug=debug_,
response_json_list_=response_json_list_,