Skip to content
This repository was archived by the owner on Jan 26, 2023. It is now read-only.

Commit 63af666

Browse files
fix syntax for Python 3.4
1 parent f6c7ab4 commit 63af666

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/test_dry_run.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@
99

1010
def are_url_queries_equal(url1, url2, *more_urls):
1111
queries = []
12-
for url in [url1, url2, *more_urls]:
12+
urls = [url1, url2]
13+
urls.extend(more_urls)
14+
for url in urls:
1315
query_string = urllib.parse.urlparse(url).query
1416
query = urllib.parse.parse_qs(query_string)
1517
queries.append(query)

0 commit comments

Comments
 (0)