mirror of
https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
synced 2025-11-01 11:18:03 +00:00
base_profile.py: fixes None error if providing missing element
Signed-off-by: Jed Reynolds <jed@candelatech.com>
This commit is contained in:
@@ -60,6 +60,8 @@ class BaseProfile:
|
|||||||
if audit_list is None:
|
if audit_list is None:
|
||||||
self.parent_realm.logg(message)
|
self.parent_realm.logg(message)
|
||||||
for item in audit_list:
|
for item in audit_list:
|
||||||
|
if (item is None):
|
||||||
|
continue
|
||||||
message += ("\n" + pprint.pformat(item, indent=4))
|
message += ("\n" + pprint.pformat(item, indent=4))
|
||||||
self.parent_realm.logg(message)
|
self.parent_realm.logg(message)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user