Skip to content

handles infinite loop in validation code#929

Merged
bmcutler merged 8 commits intomasterfrom
validate_limits
Mar 22, 2017
Merged

handles infinite loop in validation code#929
bmcutler merged 8 commits intomasterfrom
validate_limits

Conversation

@bmcutler
Copy link
Member

No description provided.

if (now-start) >= 5 * 60:
raise SystemExit("exiting for time")
print "exiting for time"
raise SystemExit()
Copy link
Member

@MasterOdin MasterOdin Mar 15, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These two lines need to have the same level/type of indentation or else python will just crash on hitting these lines.

@bmcutler bmcutler merged commit a42e4bf into master Mar 22, 2017
@bmcutler bmcutler deleted the validate_limits branch March 22, 2017 18:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants