Skip to content
Commits on Source (4)
......@@ -761,7 +761,7 @@ def create_section_navigation(section_names, current_section, doc_root):
% (doc_root, current_section)
tablerows += "<tr><td class=\"contentcell\"><a href=\"%s/%s/source/\">by source package</a></td></tr>\n" \
% (doc_root, current_section)
tablerows += "<tr><td class=\"contentcell\">states <a href=\"%s/%s/states.png/\">graph</a></td></tr>\n" \
tablerows += "<tr><td class=\"contentcell\">states <a href=\"%s/%s/states.png\">graph</a></td></tr>\n" \
% (doc_root, current_section)
tablerows += "<tr class=\"titlerow\"><td class=\"alerttitlecell\">all tested suites</td></tr>"
for section in section_names:
......
......@@ -93,7 +93,7 @@ def open_packages_url(url):
error = None
for ext in ['.xz', '.bz2', '.gz', '']:
try:
socket = urllib.request.urlopen(url + ext)
socket = urllib.request.urlopen(url + ext, timeout=30)
except urllib.error.HTTPError as e:
error = e
else:
......