mirror of
https://github.com/GSA/notifications-api.git
synced 2026-06-03 21:08:26 -04:00
rather than looping through, just use `next`. We only expect to return one file, so this won't actually affect the code flow. If, for whatever reason, the file isn't on s3, whereas previously it would error when trying to return an uninstantiated variable, now it will raise a StopIteration