Commit ac8e93fa authored by Jason R. Coombs's avatar Jason R. Coombs

Remove unreachable code

parent 1b36a4f1
...@@ -1225,7 +1225,6 @@ def evaluate_marker(text, extra=None, _ops={}): ...@@ -1225,7 +1225,6 @@ def evaluate_marker(text, extra=None, _ops={}):
op = _ops[nodelist[0]] op = _ops[nodelist[0]]
except KeyError: except KeyError:
raise SyntaxError("Comparison or logical expression expected") raise SyntaxError("Comparison or logical expression expected")
raise SyntaxError("Language feature not supported in environment markers: "+symbol.sym_name[nodelist[0]])
return op(nodelist) return op(nodelist)
def evaluate(nodelist): def evaluate(nodelist):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment