Skip to content

Commit cdbde1b

Browse files
committed
Revert "Return buffer stream to beginning for exception handling."
This reverts commit de24dea.
1 parent 625560b commit cdbde1b

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/sasctl/_services/model_repository.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -432,8 +432,6 @@ def add_model_content(cls, model, file, name, content_type="multipart/form-data"
432432
for item in model_contents:
433433
if item.name == name:
434434
cls.delete("/models/{}/contents/{}".format(id_, item.id))
435-
# Move IO buffer back to start
436-
files["files"][1].seek(0)
437435
return cls.post(
438436
"/models/{}/contents".format(id_),
439437
files=files,

0 commit comments

Comments
 (0)