Mercurial > p > roundup > code
diff roundup/rest.py @ 7173:5159d8ea585a
chore: flake8 formatting fixes
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Sun, 26 Feb 2023 10:34:56 -0500 |
| parents | 89f84f0d7cd3 |
| children | 886a5c767d7e |
line wrap: on
line diff
--- a/roundup/rest.py Sun Feb 26 10:34:07 2023 -0500 +++ b/roundup/rest.py Sun Feb 26 10:34:56 2023 -0500 @@ -2213,7 +2213,7 @@ # options request to discover supported methods (Allow) self.client.setHeader( "Access-Control-Expose-Headers", - ", ".join( [ + ", ".join([ "X-RateLimit-Limit", "X-RateLimit-Remaining", "X-RateLimit-Reset", @@ -2221,7 +2221,7 @@ "Retry-After", "Sunset", "Allow", - ] ) + ]) ) # Allow-Origin must match origin supplied by client. '*' doesn't
