fix a few annoyances to be quicker to develop now (disabled a few tests for now)

This commit is contained in:
Dave Halter
2014-02-13 15:40:51 +01:00
parent 6939e3e18f
commit 040ea2b735
3 changed files with 35 additions and 8 deletions

View File

@@ -76,7 +76,7 @@ class Token(object):
# Backward compatibility
def __getitem__(self, key):
# Builds the same structure as tuple used to have
if key == 0:
if key == 0:
return self.token_type
elif key == 1:
return self.token