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> |
||
|---|---|---|
| config | ||
| dynamic | ||
| hack | ||
| stream | ||
| watch | ||
| .gitignore | ||
| .travis.yml | ||
| code-of-conduct.md | ||
| CONTRIBUTING.md | ||
| LICENSE | ||
| OWNERS | ||
| README.md | ||
| run_tox.sh | ||
| SECURITY_CONTACTS | ||
| tox.ini | ||
python-base
This is the utility part of the python client. It has been added to the main repo using git submodules. This structure allow other developers to create their own kubernetes client and still use standard kubernetes python utilities. For more information refer to clients-library-structure.
Contributing
Please see CONTRIBUTING.md for instructions on how to contribute.