From 5ddee57ef76ba52e6d265d86333ce8c0391183ab Mon Sep 17 00:00:00 2001 From: Suzanne Soy Date: Sat, 6 Mar 2021 02:09:26 +0000 Subject: [PATCH] formatting --- XternalAppsParametricTool.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/XternalAppsParametricTool.py b/XternalAppsParametricTool.py index c81c9a7..59234ea 100644 --- a/XternalAppsParametricTool.py +++ b/XternalAppsParametricTool.py @@ -77,7 +77,8 @@ class XternalAppsParametricTool(): # TODO: is it safe to pass input unprotected here? modelElement = instanceDocument.find(input.attrib['ref'], namespaces=input.nsmap) if modelElement is None: - raise Exception('Could not find ' + input.attrib['ref'] + ' in instance document with namespaces=' + repr(input.nsmap)) + raise Exception('Could not find ' + input.attrib['ref'] \ + + ' in instance document with namespaces=' + repr(input.nsmap)) type = types[instanceDocument.getpath(modelElement)] inputs[xml.getpath(input)] = (input, modelElement, type) return (xml, types, modelInstance, inputs)