File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 3
3
# update/cn_loc.py - script to fetch data from the CN Open Data community
4
4
#
5
5
# Copyright (C) 2014-2015 Jiangge Zhang
6
- # Copyright (C) 2015-2019 Arthur de Jong
6
+ # Copyright (C) 2015-2022 Arthur de Jong
7
7
#
8
8
# This library is free software; you can redistribute it and/or
9
9
# modify it under the terms of the GNU Lesser General Public
@@ -58,7 +58,7 @@ def fetch_data():
58
58
"""Return the data from tab-separated revisions as one code/name dict."""
59
59
data_collection = OrderedDict ()
60
60
for revision in data_revisions :
61
- response = requests .get ('%s/raw/release/%s.txt' % (data_url , revision ), timeout = 30 )
61
+ response = requests .get ('%s/raw/release/%s.txt' % (data_url , revision ), timeout = 120 )
62
62
response .raise_for_status ()
63
63
if response .ok :
64
64
print ('%s is fetched' % revision , file = sys .stderr )
You can’t perform that action at this time.
0 commit comments