Skip to content

Commit 5392854

Browse files
committed
Fix PR comments
1 parent ada8b2a commit 5392854

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

src/sagemaker/utils.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -358,14 +358,6 @@ def repack_model(inference_script, source_directory, model_uri, sagemaker_sessio
358358
return 'file://%s' % new_model_path
359359

360360

361-
def _list_files(script, directory):
362-
if directory is None:
363-
return [script]
364-
365-
basedir = directory if directory else os.path.dirname(script)
366-
return [os.path.join(basedir, name) for name in os.listdir(basedir)]
367-
368-
369361
def download_file_from_url(url, dst, sagemaker_session):
370362
url = parse.urlparse(url)
371363
bucket, key = url.netloc, url.path.lstrip('/')

0 commit comments

Comments
 (0)