Commit 8a510c9e by Diego Lima

Adicionar informacoes de cores compartilhados

1 parent 5bbad689
Showing with 2 additions and 1 deletions
......@@ -38,7 +38,8 @@ with urllib.request.urlopen(CATALOG) as url:
break
cores = prod["cores"]
memory = str(prod["ram"]) + " GB"
sharedcores = 'shared' if name[:1] == 'b' else 'nonshared'
for region in REGIONS:
cost = prod["prices"].get(region)
if cost:
print("azure,%s,%s,%s,%s,%s,%s" %(name, cores, memory, cost, region, os))
print("azure,%s,%s,%s,%s,%s,%s,%s" %(name, cores, memory, cost, region, os, sharedcores))
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!