diff options
Diffstat (limited to 'progress.py')
| -rw-r--r-- | progress.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/progress.py b/progress.py index f2edf144..80bc9463 100644 --- a/progress.py +++ b/progress.py | |||
| @@ -16,6 +16,7 @@ import os | |||
| 16 | import sys | 16 | import sys |
| 17 | import time | 17 | import time |
| 18 | 18 | ||
| 19 | |||
| 19 | try: | 20 | try: |
| 20 | import threading as _threading | 21 | import threading as _threading |
| 21 | except ImportError: | 22 | except ImportError: |
| @@ -23,6 +24,7 @@ except ImportError: | |||
| 23 | 24 | ||
| 24 | from repo_trace import IsTraceToStderr | 25 | from repo_trace import IsTraceToStderr |
| 25 | 26 | ||
| 27 | |||
| 26 | _TTY = sys.stderr.isatty() | 28 | _TTY = sys.stderr.isatty() |
| 27 | 29 | ||
| 28 | # This will erase all content in the current line (wherever the cursor is). | 30 | # This will erase all content in the current line (wherever the cursor is). |
