From 967c1bc49d7716ddefdb98c7108799af7fe1e07b Mon Sep 17 00:00:00 2001 From: Auke Klazema <klazema@astron.nl> Date: Mon, 25 Mar 2019 13:09:49 +0000 Subject: [PATCH] SW-609: Decode bytes to string to make Pyhton3 happy --- SAS/SpecificationServices/lib/translation_service.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SAS/SpecificationServices/lib/translation_service.py b/SAS/SpecificationServices/lib/translation_service.py index 732439c5016..4daf47dbec1 100644 --- a/SAS/SpecificationServices/lib/translation_service.py +++ b/SAS/SpecificationServices/lib/translation_service.py @@ -144,7 +144,7 @@ class SpecificationTranslationHandler(MessageHandlerInterface): logger.error("Exception while translating specification -> " + str(err)) raise - logger.debug("MoM spec after translation -> " + momspec_xml) + logger.debug("MoM spec after translation -> " + momspec_xml.decode("utf-8")) response = validationrpc.validate_mom_specification(momspec_xml) if response["valid"]: logger.info("Translation successful") -- GitLab