Skip to content

Commit 6c30025

Browse files
author
Ignacio Quintero
committed
Remove stray print statements
1 parent 95ad797 commit 6c30025

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/sagemaker/session.py

-2
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,6 @@ def upload_data(self, path, bucket=None, key_prefix='data'):
134134
files = []
135135
key_suffix = None
136136
if os.path.isdir(path):
137-
print('%s is dir!' % path)
138137
for dirpath, dirnames, filenames in os.walk(path):
139138
for name in filenames:
140139
local_path = os.path.join(dirpath, name)
@@ -151,7 +150,6 @@ def upload_data(self, path, bucket=None, key_prefix='data'):
151150
s3 = self.boto_session.resource('s3')
152151

153152
for local_path, s3_key in files:
154-
print("%s -> %s" % (local_path, s3_key))
155153
s3.Object(bucket, s3_key).upload_file(local_path)
156154

157155
s3_uri = 's3://{}/{}'.format(bucket, key_prefix)

0 commit comments

Comments
 (0)