Skip to content

Commit 8b8cd47

Browse files
author
Kevin D Smith
committed
Fix formatting
1 parent d486481 commit 8b8cd47

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

cicd/tar2conda.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -185,9 +185,11 @@ def __enter__(self):
185185

186186
def __exit__(self, exc_type, exc_value, traceback):
187187
import atexit
188+
188189
def onerror(func, path, excinfo):
189190
''' Error function for rmtree '''
190191
print_err('WARNING: Could not remove file %s.' % path)
192+
191193
atexit.register(shutil.rmtree, self.dir_name, onerror=onerror)
192194

193195

0 commit comments

Comments
 (0)