summaryrefslogtreecommitdiff
path: root/configuration.py
diff options
context:
space:
mode:
authorPierre-Yves David <pierre-yves.david@logilab.fr>2010-11-10 17:53:13 +0100
committerPierre-Yves David <pierre-yves.david@logilab.fr>2010-11-10 17:53:13 +0100
commit9dda4d681ecb3a769b39223ca723f98157071335 (patch)
treea07b43009f54c610397f00a045daea2ee9a3b537 /configuration.py
parent710a3d8fd205b88c2ba4174e9eb564a1efae8234 (diff)
downloadlogilab-common-9dda4d681ecb3a769b39223ca723f98157071335.tar.gz
Add a progress context manager.
It take the same argument than ProgressBar and return a ProgressBAr object on __enter__ The context manager could be enabled or disable at init. If disabled the progress bar object return a Mock object that won't print anything and doesn't required the code handling the progress bar object to change. The progress bar is propertly finished on __exit__
Diffstat (limited to 'configuration.py')
0 files changed, 0 insertions, 0 deletions