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)

Changes between revision 4 and 5

orig
1
2
3
4
5
6
7
rbtools/api/transport/sync.py
rbtools/commands/__init__.py
Loading...