Commit 97ea0b5b by diegolima

Usar json em arquivo

1 parent b06f5245
Showing with 1 additions and 0 deletions
...@@ -33,6 +33,7 @@ GCE_REGIONS = [ ...@@ -33,6 +33,7 @@ GCE_REGIONS = [
] ]
GCE_OS = ['linux', 'win', 'rhel', 'suse', 'suse-sap', 'sql-standard', 'sql-web', 'sql-enterprise'] GCE_OS = ['linux', 'win', 'rhel', 'suse', 'suse-sap', 'sql-standard', 'sql-web', 'sql-enterprise']
#TODO: Download & decompress the gzipped current catalog
#with urllib.request.urlopen(CATALOG) as url: #with urllib.request.urlopen(CATALOG) as url:
# DATA = json.loads(url.read().decode()) # DATA = json.loads(url.read().decode())
with open(FCATALOG) as url: with open(FCATALOG) as url:
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!