Skip to content

Commit

Permalink
Limit heading columns.
Browse files Browse the repository at this point in the history
  • Loading branch information
ianmackinnon committed Sep 6, 2012
1 parent ba793b8 commit 4ec824b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ale.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ class ale(object):
delim = "\t"

def _read_heading(self, line):
key, value = line.split(self.delim)
key, value = line.split(self.delim)[:2]
if not key in headings:
raise ValueError("Unknown heading: '%s'.", key)
heading = headings[key]
Expand Down

0 comments on commit 4ec824b

Please sign in to comment.