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:
Overwatch 2014-08-17 00:31:44 +02:00
parent fd984be2f6
commit 5e655c8e06
7 changed files with 49 additions and 104 deletions

View file

@ -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()
# --------------------------------------------------