Skip to content

Commit 98d9044

Browse files
ScoreParserException is undefined. Use Exception instead.
1 parent 9574d82 commit 98d9044

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

utils/pre-commit-benchmark

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ def parseFloat(word):
166166
try:
167167
return float(word)
168168
except:
169-
raise ScoreParserException("Expected float val, not "+word)
169+
raise Exception("Expected float val, not {}".format(word))
170170

171171
def getScores(fname):
172172
scores = {}

0 commit comments

Comments
 (0)