summaryrefslogtreecommitdiff
path: root/glanceclient/common/progressbar.py
Commit message (Collapse)AuthorAgeFilesLines
* Do not use the six library.Cyril Roelandt2020-06-231-3/+1
| | | | Change-Id: I3dbfcfa0f5f590a41ed549afd44537d8ed41433a
* Enable hacking checksTin Lam2016-04-181-7/+8
| | | | | | | | | | Enabled following hacking checks from tox.ini: - H233 Python 3.x incompatible use of print operator - H303 no wildcard import - H404 multi line docstring should start with a summary Change-Id: I2553bcd3e80c00acc08d135a1d2dadfb6cda49fe Partial-Bugs: #1475054
* Enable flake8 checksDarja Shakhray2015-07-211-5/+7
| | | | | | | | | | | | This commit enables new flake8 checks: * E265 block comment should start with '# ' * H405 multi line docstring summary not separated with an empty line * E123 closing bracket does not match indentation of opening bracket's line * H238 old style class declaration, use new style (inherit from `object`) * E128 continuation line under-indented for visual indent and makes related changes in the code. Change-Id: Ie993afc930f6b74d7a990bcaa9fc0e9f5ba1585c
* Python3: define a __next__() method for VerboseIteratorWrapperCyril Roelandt2014-02-201-1/+6
| | | | | | | | In Python 3, __next__() has replaced next(). Also, call the next() function rather than the next() method. Closes-Bug: #1281866 Change-Id: I92b44508c9c875f16ad89ef8410d2c38092ab23d
* Fix extra new line that break from progress barm.benchchaoui@cloudbau.de2013-11-201-4/+8
| | | | | | | | The new line should be writed to stdout only when there is a progress bar displayed. Change-Id: If0e62cd5a3734ed67d66d285267c101b7caeea77 Closes-Bug: #1253042
* Replace OpenStack LLC with OpenStack FoundationZhiQiang Fan2013-09-201-1/+1
| | | | | Change-Id: I38dcbcf1a6c8efe540fcf5f29e782cb3826e583d Fixes-Bug: #1214176
* Show a pretty progressbar when uploading and downloading an image.mouad benchchaoui2013-08-081-0/+87
Add a new module that contain generic wrapper for file and iterator, which are used to wrap image to upload and the request body iterator in upload and download cases repectively, to show and advance a pretty progress bar when this laters are consumed, The progress bar is triggered by adding a --progress command line argument to commands: image-create, image-download or image-update. Change-Id: I2ba42fd0c58f4fa087adb568ec3f08246cae3759 bug fix: LP#1112309 blueprint: progressbar-when-uploading