summaryrefslogtreecommitdiff
path: root/swiftclient/shell.py
Commit message (Collapse)AuthorAgeFilesLines
...
* Use quote/unquote from six module for py3Chmouel Boudjnah2014-04-171-1/+1
| | | | Change-Id: I42cff32fbf3febd6dd6a7171b9214f93b4414f9a
* Update help message to specify unit of --segment-size option.Florent Flament2014-04-041-6/+7
| | | | | Change-Id: Ic3f9a733329c19c4e0bb85676da28a8d1d74232b Closes-Bug: 1302566
* Merge "Removed usage of tuple unpacking in parameters."Jenkins2014-04-021-2/+4
|\
| * Removed usage of tuple unpacking in parameters.Alex Gaynor2014-03-301-2/+4
| | | | | | | | | | | | Replaced it with traditional tuple unpacking. Needed for Python 3 support. Change-Id: I714f32859f9b1ec7216eae777ea8968b5826af3b
* | Replaced print statements with print function.Alex Gaynor2014-03-301-11/+21
|/ | | | | | This is needed for Python3 compatibility. Change-Id: Iadd21e4b3a936b601a69f1db2aba8e1597f13fc3
* Make bin/swift testable part 1Christian Schwede2014-03-251-0/+1510
To make bin/swift importable for testing it needs to be renamed/moved. The final idea is to move it to swiftclient/shell.py and add only a stub in bin/swift to import swiftclient/shell.py. However, doing this in a single step makes reviewing very hard, because now there are > 1400 lines deleted from bin/swift and added to swiftclient/shell.py - Gerrit doesn't detect the moved file. For example: https://review.openstack.org/#/c/73710/2/ This patch first moves the code to swiftclient/shell.py and uses setup.py/cfg to create the stub file in bin/swift. A follow up (https://review.openstack.org/#/c/76489/) will then add the stub itself in bin/swift (and remove the entry in setup.py). The change to tox.ini is related to bug 1290562 and can be removed in the future. Change-Id: Id86392ccaf09e1d80a5d808fb49827d6d18c2588