Salome HOME
Minor documentation and code review corrections (25)
[modules/adao.git] / src / daComposant / daCore / Aidsm.py
index b05b1889033e20ed508e3a51015e61819025de22..3aa0c20e835bb64958b4f7425609d10f8971fa9b 100644 (file)
@@ -166,7 +166,7 @@ class Aidsm(object):
             else:
                 raise ValueError("the variable named '%s' is not allowed."%str(Concept))
         except Exception as e:
-            if isinstance(e, SyntaxError): msg = "at %s: %s"%(e.offset, e.text)
+            if isinstance(e, SyntaxError): msg = " at %s: %s"%(e.offset, e.text)
             else: msg = ""
             raise ValueError(("during settings, the following error occurs:\n"+\
                               "\n%s%s\n\nSee also the potential messages, "+\