Skip to content

Commit 7018211

Browse files
committed
Fix more linter issues.
1 parent 2c5d83d commit 7018211

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

common/file_utils.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,6 @@ def get_file(fname, origin, unpack=False,
9494
else:
9595
unpack_fpath = None
9696

97-
9897
fpath = os.path.join(datadir, fname)
9998

10099
download = False
@@ -151,10 +150,8 @@ def dl_progress(count, block_size, total_size):
151150
if unpack:
152151
if not os.path.exists(unpack_fpath):
153152
print('Unpacking file...')
154-
#tfile = tarfile.open(fpath, 'r:gz')
155153
try:
156154
shutil.unpack_archive(fpath, datadir)
157-
#tfile.extractall(path=datadir)
158155
except (Exception, KeyboardInterrupt) as e:
159156
print(f"Error {e}")
160157
if os.path.exists(unpack_fpath):
@@ -163,7 +160,6 @@ def dl_progress(count, block_size, total_size):
163160
else:
164161
shutil.rmtree(unpack_fpath)
165162
raise
166-
#tfile.close()
167163
return unpack_fpath
168164
print()
169165

0 commit comments

Comments
 (0)