Skip to content

Commit 94c7ead

Browse files
author
Ignacio Quintero
committed
Minor minor fixes
1 parent a634efb commit 94c7ead

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

src/sagemaker/local/data.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,8 +129,6 @@ def get_file_list(self):
129129
else:
130130
return [self.root_path]
131131

132-
return files
133-
134132
def get_root_dir(self):
135133
"""Retrieve the absolute path to the root directory of this data source.
136134

src/sagemaker/local/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ def move_to_destination(source, destination, sagemaker_session):
5555
path = parsed_uri.path.strip('/')
5656
sagemaker_session.upload_data(source, bucket, path)
5757
else:
58-
raise ValueError('Invalid destination URI, must be s3:// or file:// got: %s' % destination)
58+
raise ValueError('Invalid destination URI, must be s3:// or file://, got: %s' % destination)
5959

6060
shutil.rmtree(source)
6161

0 commit comments

Comments
 (0)