mirror of
https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
synced 2025-11-01 19:28:00 +00:00
LFRequest.py: do not die when attempting a port that is already deleted
Signed-off-by: Jed Reynolds <jed@candelatech.com>
This commit is contained in:
@@ -288,7 +288,7 @@ class LFRequest:
|
||||
print("----- Response: --------------------------------------------------------")
|
||||
LFUtils.debug_printer.pprint(myresponses[0].reason)
|
||||
print("------------------------------------------------------------------------")
|
||||
if die_on_error_ == True:
|
||||
if (error.code != 404) and (die_on_error_ == True):
|
||||
traceback.print_stack(limit=15)
|
||||
exit(1)
|
||||
except urllib.error.URLError as uerror:
|
||||
|
||||
Reference in New Issue
Block a user