summaryrefslogtreecommitdiff
path: root/src/wheel/cli/unpack.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/wheel/cli/unpack.py')
-rw-r--r--src/wheel/cli/unpack.py6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/wheel/cli/unpack.py b/src/wheel/cli/unpack.py
index 2e9857a..8aa8180 100644
--- a/src/wheel/cli/unpack.py
+++ b/src/wheel/cli/unpack.py
@@ -1,7 +1,4 @@
-from __future__ import print_function
-
import os.path
-import sys
from ..wheelfile import WheelFile
@@ -18,8 +15,7 @@ def unpack(path, dest='.'):
with WheelFile(path) as wf:
namever = wf.parsed_filename.group('namever')
destination = os.path.join(dest, namever)
- print("Unpacking to: {}...".format(destination), end='')
- sys.stdout.flush()
+ print("Unpacking to: {}...".format(destination), end='', flush=True)
wf.extractall(destination)
print('OK')