minor: improved the exception message

This commit is contained in:
sm
2011-03-24 00:27:06 -06:00
parent 124d9bb12d
commit c80b253141
+1 -1
View File
@@ -58,7 +58,7 @@ class grid(object):
attempts += 1
if attempts > MAX_SEARCH_COUNT:
raise Exception("Is the search becoming exhaustive?")
raise Exception("Is the search becoming exhaustive? (%d attempts)" % attempts)
cur_cell = cells_to_check.pop(0)
checked_cells.append(cur_cell)