Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
U
url-checker
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
Romain Courteaud
url-checker
Commits
6b379648
Commit
6b379648
authored
Oct 21, 2019
by
Romain Courteaud
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove catchall
parent
0140f3d9
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
5 deletions
+0
-5
urlchecker_http.py
urlchecker_http.py
+0
-5
No files found.
urlchecker_http.py
View file @
6b379648
...
@@ -65,11 +65,6 @@ def request(
...
@@ -65,11 +65,6 @@ def request(
except
requests
.
exceptions
.
TooManyRedirects
:
except
requests
.
exceptions
.
TooManyRedirects
:
response
=
requests
.
models
.
Response
()
response
=
requests
.
models
.
Response
()
response
.
status_code
=
520
response
.
status_code
=
520
except
:
# XXX Put it in body
print
(
traceback
.
print_exception
(
*
(
sys
.
exc_info
())))
response
=
requests
.
models
.
Response
()
response
.
status_code
=
0
return
response
return
response
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment