summaryrefslogtreecommitdiff
path: root/glanceclient/common/progressbar.py
diff options
context:
space:
mode:
Diffstat (limited to 'glanceclient/common/progressbar.py')
-rw-r--r--glanceclient/common/progressbar.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/glanceclient/common/progressbar.py b/glanceclient/common/progressbar.py
index 6cf0df3..bb8b21b 100644
--- a/glanceclient/common/progressbar.py
+++ b/glanceclient/common/progressbar.py
@@ -15,8 +15,6 @@
import sys
-import six
-
class _ProgressBarBase(object):
"""A progress bar provider for a wrapped obect.
@@ -83,7 +81,7 @@ class VerboseIteratorWrapper(_ProgressBarBase):
def next(self):
try:
- data = six.next(self._wrapped)
+ data = next(self._wrapped)
# NOTE(mouad): Assuming that data is a string b/c otherwise calling
# len function will not make any sense.
self._display_progress_bar(len(data))