Changed from hardcoded http codes to using constants from httplib

Review Request #7625 — Created Sept. 13, 2015 and submitted — Latest diff uploaded

Information

RBTools
master

Reviewers

Changed from hardcoded 304 and 401 http codes to using the NOT_MODIFIED and UNAUTHORIZED constants from httplib for better readability.

RBTools nose test results - all passed fine


Ran 166 tests in 3.966s

OK (SKIP=50)

Diff Revision 5

This is not the most recent revision of the diff. The latest diff is revision 7. See what's changed.

orig
1
2
3
4
5
6
7
rbtools/api/request.py
Loading...