Revision 329753ae kamaki/cli/argument.py

b/kamaki/cli/argument.py
256 256
    def get_generator(self, message, message_len=25):
257 257
        if self.value:
258 258
            return None
259
        self.bar = IncrementalBar()
260 259
        try:
261
            self.bar.message = message.ljust(message_len)
260
            self.bar = IncrementalBar()
262 261
        except NameError:
263
            pass
262
            self.value = None
263
            return self.value
264
        self.bar.message = message.ljust(message_len)
264 265
        self.bar.suffix = '%(percent)d%% - %(eta)ds'
265 266

  
266 267
        def progress_gen(n):

Also available in: Unified diff