Explorar el Código

Fixed missing comma in exception

Yentl Van Tendeloo hace 8 años
padre
commit
7ef2b98f42
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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