summaryrefslogtreecommitdiff
path: root/swiftclient/__init__.py
Commit message (Collapse)AuthorAgeFilesLines
* Use "# noqa" instead of "#flake8: noqa"Chaozhe.Chen2016-02-091-2/+2
| | | | | | | | "# flake8: noqa" option disables all checks for the whole file. To disable one line we should use "# noqa". Change-Id: I7859eab30563d0eb91c5f055d1b523173b562e54 Closes-bug: #1540254
* Use Emacs-friendly coding line.Martin Geisler2014-05-261-1/+1
| | | | | | | | | | | | | | | | | | | | | | | To signal the file encoding to Emacs, one can add a line with -*- coding: your-favority-encoding -*- Python also understands such a line, infact it also understands the line if it says "encoding" instead of "coding". However, it is only "coding" that has an effect in Emacs. Furthermore, since "encoding" is not recognized, Emacs will prompt the user with a scary looking message when the file is opened: The local variable list in __init__.py contains values that may not be safe. Using the correct variable name fixes this. (The file contain only ASCII characters at the moment, so the line could alternatively be removed completely.) Change-Id: Ie6b4f41043bf97bb59e3de403e4794c302d81783
* Remove extra double quote from docstringMartin Geisler2014-05-261-1/+1
| | | | | | | | The extra " was visible on http://docs.openstack.org/developer/python-swiftclient/swiftclient.html Change-Id: I7d61c8259a4f13464c11ae7e3fa28eb3a58e4baa
* Make pbr only a build-time dependency.Samuel Merritt2013-10-101-1/+1
| | | | | | | | | | | | | | This lets you build python-swiftclient packages that don't require pbr to be installed at all. You would need pbr on the machine running rpmbuild / debuild, but not on the machines that install the packages. Unfortunately, this does not make python-swiftclient able to be installed via pip 0.3.1 on Lucid; you'll need to uninstall the system python-pip package and install a new pip some other way. Given that pip < 1.3 doesn't perform SSL certificate validation for pypi (trivial MITM attack, anyone?), you'd probably want to get a new pip anyway. Change-Id: I85d4d77aacf094e48d39e48e750594b95dbc7af0
* python3: Start of adding basic python3 support.Chuck Short2013-07-181-1/+1
| | | | | | | Fix imports so its python3 compliant. Change-Id: Ie08fe63b87e75bb099105ca1de860f9ab6c3340b Signed-off-by: Chuck Short <chuck.short@canonical.com>
* Switch to flake8.Monty Taylor2013-05-011-0/+15
| | | | Change-Id: Ib9ba1e7eed09c5a90c558a8365d0a87c3f4b5ee5
* Update to latest oslo version/setup.Monty Taylor2013-01-141-2/+11
| | | | Change-Id: I7bd38b950ef9fea8b6eaa1df599085a1c64d8b61
* Consume version info from pkg_resources.Clark Boylan2012-07-111-0/+3
| | | | | | | | | | | | | | Documenation builds specify a version in doc/source/conf.py that is used in appropriate places through out the documentation. Previously this value had not been defined properly and documentation builds failed. Retrieve the version info using pkg_resources and set it properly. Use openstack.common.version to consume the generated version information for documentation. Additional, add a swiftclient.__version__ member which will return the version of swiftclient being used. Change-Id: I14f3abdf00da3f9ea7d0651efe76b08f69ddabae
* Add post-tag versioning.Monty Taylor2012-06-261-5/+0
| | | | Change-Id: Id921105dd2fa818cac7c66dc620b266fd5639d72
* Add doc and version in swiftclient.__init__.pyChmouel Boudjnah2012-06-071-0/+8
| | | | | | | - Add parseable version in swiftclient.__init.py - Generate rst doc like done for swift. Change-Id: I408fbc36693772d2ef6f4823757dd1f4c830193f
* First commit.Chmouel Boudjnah2012-05-081-0/+2