Remove unnecessary tailing dots from some log messages

This commit is contained in:
Sergi Delgado Segura
2020-01-21 12:14:51 +01:00
parent 3605590fa4
commit 200304cbce

View File

@@ -62,7 +62,7 @@ def load_key_file_data(file_name):
return key return key
except FileNotFoundError as e: except FileNotFoundError as e:
logger.error("Client's key file not found. Please check your settings.") logger.error("Client's key file not found. Please check your settings")
raise e raise e
except IOError as e: except IOError as e:
@@ -108,7 +108,7 @@ def add_appointment(args):
appointment_data["encrypted_blob"] = Cryptographer.encrypt(Blob(tx), tx_id) appointment_data["encrypted_blob"] = Cryptographer.encrypt(Blob(tx), tx_id)
else: else:
logger.error("Appointment data is missing some fields.") logger.error("Appointment data is missing some fields")
return False return False
appointment = Appointment.from_dict(appointment_data) appointment = Appointment.from_dict(appointment_data)
@@ -130,7 +130,7 @@ def add_appointment(args):
signature = response_json.get("signature") signature = response_json.get("signature")
# Check that the server signed the appointment as it should. # Check that the server signed the appointment as it should.
if signature is None: if signature is None:
logger.error("The response does not contain the signature of the appointment.") logger.error("The response does not contain the signature of the appointment")
return False return False
valid = check_signature(signature, appointment) valid = check_signature(signature, appointment)