Skip to content

Commit cd7f37b

Browse files
committed
Corrected a pair of flake8 violations
1 parent 1c1dffc commit cd7f37b

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

django/core/urlresolvers.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,6 @@ class Resolver404(Http404):
7272
pass
7373

7474

75-
7675
class NoReverseMatch(Exception):
7776
pass
7877

django/views/debug.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -477,7 +477,7 @@ def technical_404_response(request, exception):
477477
try:
478478
error_url = exception.args[0]['path']
479479
except (IndexError, TypeError, KeyError):
480-
error_url = request.path_info[1:] # Trim leading slash
480+
error_url = request.path_info[1:] # Trim leading slash
481481

482482
try:
483483
tried = exception.args[0]['tried']

0 commit comments

Comments
 (0)