Skip to content

Commit 9967091

Browse files
committed
fix indents and cleanup
1 parent 845bda5 commit 9967091

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/sagemaker/model.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -477,13 +477,12 @@ def _script_mode_env_vars(self):
477477
dir_name = self.uploaded_code.s3_prefix
478478
elif self.entry_point is not None:
479479
script_name = self.entry_point
480-
if self.source_dir is not None:
480+
if self.source_dir is not None:
481481
dir_name = (
482482
self.source_dir
483483
if self.source_dir.startswith("s3://")
484484
else "file://" + self.source_dir
485485
)
486-
487486
return {
488487
SCRIPT_PARAM_NAME.upper(): script_name or str(),
489488
DIR_PARAM_NAME.upper(): dir_name or str(),

0 commit comments

Comments
 (0)