Skip to content

Commit

Permalink
Merge pull request #932 from jtorrents/test_pr
Browse files Browse the repository at this point in the history
Fix bug in checking minimum version for requests library in test_pr.py
  • Loading branch information
hagberg committed Aug 15, 2013
2 parents 9ded00d + 200ac51 commit 767717b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/test_pr.py
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,7 @@ def test_pr(num, post_results=True):
# Test for requests version.
import requests
major, minor, rev = map(int, requests.__version__.split('.'))
if minor < 10:
if major == 0 and minor < 10:
print("test_pr.py:")
print("The requests python library must be version 0.10.0",
"or above, you have version",
Expand Down

0 comments on commit 767717b

Please sign in to comment.