Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
ansible
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenEdx
ansible
Commits
ce0bf712
Commit
ce0bf712
authored
Oct 11, 2013
by
Matthew Barrington
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed crash when s3 bucket did not exist for put operation
parent
3f968ff4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletions
+2
-1
library/cloud/s3
+2
-1
No files found.
library/cloud/s3
View file @
ce0bf712
...
@@ -371,7 +371,8 @@ def main():
...
@@ -371,7 +371,8 @@ def main():
# Lets check to see if bucket exists to get ground truth.
# Lets check to see if bucket exists to get ground truth.
bucketrtn
=
bucket_check
(
module
,
s3
,
bucket
)
bucketrtn
=
bucket_check
(
module
,
s3
,
bucket
)
keyrtn
=
key_check
(
module
,
s3
,
bucket
,
obj
)
if
bucketrtn
is
True
:
keyrtn
=
key_check
(
module
,
s3
,
bucket
,
obj
)
# Lets check key state. Does it exist and if it does, compute the etag md5sum.
# Lets check key state. Does it exist and if it does, compute the etag md5sum.
if
bucketrtn
is
True
and
keyrtn
is
True
:
if
bucketrtn
is
True
and
keyrtn
is
True
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment