mirror of
https://github.com/trailofbits/algo.git
synced 2026-08-17 21:25:50 +02:00
The "Format regions" task was converting region dictionaries to strings
using {{ v }} in a Jinja2 loop, which caused the subsequent sort() to
fail with "object of type 'str' has no attribute 'country'".
Changed to directly assign the regions array from the API response,
preserving the dictionary objects with their country, city, id, and
other attributes.
Fixes the error: "object of type 'str' has no attribute 'country'"
when provisioning Vultr servers.