PR #133 introduces the usage of `http` module for checking the status code for `GONE` HTTP status. However, this doesn't work in Python 2.7. This commit checks if the interpreter is Python 2 and imports the status code from `httplib` module instead and unifies the approach to the checks. Signed-off-by: Nabarun Pal <pal.nabarun95@gmail.com> |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| watch_test.py | ||
| watch.py | ||