Skip to content

Commit 77d6fe5

Browse files
claytonparnellknikure
authored andcommitted
Fix black formatting issue
1 parent 2e699d7 commit 77d6fe5

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/sagemaker/processing.py

+2-4
Original file line numberDiff line numberDiff line change
@@ -1730,16 +1730,14 @@ def _pack_and_upload_code(
17301730
"sagemaker_session unspecified when creating your Processor to have one set up "
17311731
"automatically."
17321732
)
1733-
if ("/sourcedir.tar.gz" in estimator.uploaded_code.s3_prefix):
1733+
if "/sourcedir.tar.gz" in estimator.uploaded_code.s3_prefix:
17341734
# Upload the bootstrapping code as s3://.../jobname/source/runproc.sh.
17351735
entrypoint_s3_uri = estimator.uploaded_code.s3_prefix.replace(
17361736
"sourcedir.tar.gz",
17371737
"runproc.sh",
17381738
)
17391739
else:
1740-
raise RuntimeError(
1741-
"S3 source_dir file must be named `sourcedir.tar.gz.`"
1742-
)
1740+
raise RuntimeError("S3 source_dir file must be named `sourcedir.tar.gz.`")
17431741

17441742
script = estimator.uploaded_code.script_name
17451743
s3_runproc_sh = S3Uploader.upload_string_as_file_body(

0 commit comments

Comments
 (0)