Browse Source

Fixed missing comma in exception

Yentl Van Tendeloo 8 years ago
parent
commit
5ff09a5223
1 changed files with 1 additions and 1 deletions
  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