Skip to content

Commit

Permalink
Fix sec issues
Browse files Browse the repository at this point in the history
  • Loading branch information
micafer committed Oct 11, 2022
1 parent ecd464f commit cc48bad
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion scripts/db_1_4_to_1_5.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def load_data(data_file):
else:
inf_list = DB14to15.get_data_from_db(Config.DATA_DB)
return inf_list
except Exception, ex:
except Exception as ex:
sys.stderr.write("ERROR loading data: " + str(ex) + ".\nCorrect or delete it!! ")
sys.exit(-1)

Expand Down
1 change: 0 additions & 1 deletion test/integration/QuickTestIM.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,6 @@ def wait_inf_state(self, state, timeout, incorrect_states=[], vm_ids=None):
if vm_state == VirtualMachine.UNCONFIGURED:
(success, cont_msg) = self.server.GetVMContMsg(
self.inf_id, vm_id, self.auth_data)
print cont_msg

self.assertFalse(vm_state in err_states, msg="ERROR waiting for a state. '" + vm_state +
"' was obtained in the VM: " + str(vm_id) + " err_states = " + str(err_states))
Expand Down

0 comments on commit cc48bad

Please sign in to comment.