mirror of
https://github.com/kennethreitz/requests3.git
synced 2026-06-05 23:10:16 +00:00
Fix syntax error
I can only wonder how I managed to write it like that...
This commit is contained in:
@@ -87,5 +87,5 @@ codes = LookupDict(name='status_codes')
|
||||
for code, titles in _codes.items():
|
||||
for title in titles:
|
||||
setattr(codes, title, code)
|
||||
if not if not title.startswith(('\\', '/')):
|
||||
if not title.startswith(('\\', '/')):
|
||||
setattr(codes, title.upper(), code)
|
||||
|
||||
Reference in New Issue
Block a user