Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Michele Carpene
Irods Resource Plugin S3
Commits
66f6ddfa
Commit
66f6ddfa
authored
Aug 04, 2016
by
Antoine de Torcy
Browse files
[#1806] Fix s3 region parameter in boto3 config
parent
034b78db
Changes
1
Hide whitespace changes
Inline
Side-by-side
packaging/test_irods_resource_plugin_s3.py
View file @
66f6ddfa
...
...
@@ -103,7 +103,7 @@ class Test_Compound_With_S3_Resource(ResourceSuite, ChunkyDevTest, unittest.Test
# make config file
with
open
(
os
.
path
.
join
(
aws_cfg_dir_path
,
'config'
),
'w'
)
as
cfg_file
:
cfg_file
.
write
(
'[default]
\n
'
)
cfg_file
.
write
(
'region=
us-east-1
\n
'
)
cfg_file
.
write
(
'region=
'
+
self
.
s3region
+
'
\n
'
)
# make credentials file
with
open
(
os
.
path
.
join
(
aws_cfg_dir_path
,
'credentials'
),
'w'
)
as
cred_file
:
...
...
Write
Preview
Supports
Markdown
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