Skip to content

Commit

Permalink
Shoebot traceback was broken
Browse files Browse the repository at this point in the history
  • Loading branch information
stuaxo committed May 2, 2016
1 parent bfb9e50 commit 9bdd2d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion shoebot/grammar/grammar.py
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ def _simple_traceback(self, ex, source):
# Defaults...
exc_location = exc[-2]
for i, err in enumerate(exc):
if 'exec source_or_code in namespace' in err:
if 'exec source in ns' in err:
exc_location = exc[i+1]
break

Expand Down

0 comments on commit 9bdd2d8

Please sign in to comment.