Skip to content

Commit 82d795e

Browse files
author
Payton Staub
committed
Remove commented code
1 parent 2dedfd3 commit 82d795e

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

src/sagemaker/workflow/_repack_model.py

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -71,15 +71,6 @@ def repack(inference_script, model_archive, dependencies=None, source_dir=None):
7171
if os.path.exists(code_dir):
7272
shutil.rmtree(code_dir)
7373
shutil.copytree(source_dir, code_dir)
74-
# actual_source_dir_path = os.path.join("/opt/ml/code", source_dir)
75-
# if os.path.exists(actual_source_dir_path):
76-
# for item in os.listdir(actual_source_dir_path):
77-
# s = os.path.join(actual_source_dir_path, item)
78-
# d = os.path.join(os.path.join(code_dir, source_dir), item)
79-
# if os.path.isdir(s):
80-
# shutil.copytree(s, d)
81-
# else:
82-
# shutil.copy2(s, d)
8374

8475
# copy any dependencies to code/lib/
8576
if dependencies:

0 commit comments

Comments
 (0)