Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Diego Lima
/
aws-price-parser
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 5eef6ecc
authored
Feb 22, 2018
by
diegolima
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Corrigir identacao
1 parent
2e235c14
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
aws_parser.py
aws_parser.py
View file @
5eef6ec
...
...
@@ -47,7 +47,7 @@ elif PRODUCT_TYPE == 'database':
PRODUCT_FAMILY
=
'Database Instance'
with
urllib
.
request
.
urlopen
(
CATALOG
)
as
url
:
DATA
=
json
.
loads
(
url
.
read
()
.
decode
())
DATA
=
json
.
loads
(
url
.
read
()
.
decode
())
# with open(FCATALOG) as url:
# DATA = json.load(url)
for
product
in
DATA
[
"products"
]:
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment