Skip to content

Commit

Permalink
Merge branch 'release/v0.1.9'
Browse files Browse the repository at this point in the history
  • Loading branch information
mattjvincent committed Sep 9, 2015
2 parents 9e60a05 + ec0a35b commit bd2ae11
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions g2gtools/chain.py
Original file line number Diff line number Diff line change
Expand Up @@ -189,8 +189,6 @@ def parse(self, reverse):
if 'VERSION' == header_values[0].strip():
try:
self.version = int(header_values[1].strip())
if self.check_version and self.version != self.check_version:
raise G2GChainFileError("Invalid chain file version '{0}', requested '{1}'".format(self.version, self.check_version))
except ValueError, e:
raise G2GChainFileError("Invalid chain file version '{0}'".format(self.version))
continue
Expand Down

0 comments on commit bd2ae11

Please sign in to comment.