diff --git a/scripts/db_1_4_to_1_5.py b/scripts/db_1_4_to_1_5.py index e83588266..f77b7d4e6 100644 --- a/scripts/db_1_4_to_1_5.py +++ b/scripts/db_1_4_to_1_5.py @@ -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) diff --git a/test/integration/QuickTestIM.py b/test/integration/QuickTestIM.py index 6f8dd4ea6..560fed202 100755 --- a/test/integration/QuickTestIM.py +++ b/test/integration/QuickTestIM.py @@ -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))