Parcourir la source

Fixed missing comma in exception

Yentl Van Tendeloo il y a 8 ans
Parent
commit
5ff09a5223
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      kernel/modelverse_kernel/compiled.py

+ 1 - 1
kernel/modelverse_kernel/compiled.py

@@ -414,7 +414,7 @@ def check_symbols(a, b, c, **remainder):
             k = key
             v = value
             if v and symbols.get(k, False):
-                result = yield [("CNV", ["ERROR: multiple definition of symbol " + str(key)])]
+                result, = yield [("CNV", ["ERROR: multiple definition of symbol " + str(key)])]
                 raise PrimitiveFinished(result)
             elif v and not symbols.get(k, False):
                 symbols[k] = True