Migrated to python-3.4, removed over.core.types.enum as it is now provided by Python's enum.Enum. Minor fixes.
This commit is contained in:
parent
fd984be2f6
commit
5e655c8e06
7 changed files with 49 additions and 104 deletions
|
@ -4,6 +4,9 @@
|
|||
import math
|
||||
import re
|
||||
import sys
|
||||
import struct
|
||||
import fcntl
|
||||
import termios
|
||||
import time
|
||||
|
||||
# --------------------------------------------------
|
||||
|
@ -76,6 +79,10 @@ class ProgressBar:
|
|||
self.value = value
|
||||
|
||||
self.draw()
|
||||
|
||||
def blank(self):
|
||||
sys.stderr.write("\r" + self.old_len * " " + "\r")
|
||||
sys.stderr.flush()
|
||||
|
||||
# --------------------------------------------------
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue