diff options
| author | Jon Dufresne <jon.dufresne@gmail.com> | 2018-09-25 23:48:47 -0700 |
|---|---|---|
| committer | Claude Paroz <claude@2xlibre.net> | 2018-09-26 08:48:47 +0200 |
| commit | 82f286cf6f198d37850d3c5df637b5665566a66b (patch) | |
| tree | bf8d7b8d45ee9bcf033ecbd35d73f98f3f58d87e /django/views/debug.py | |
| parent | d1d5c97bc2821bf8c0f4b2d9c7ab16200845b494 (diff) | |
Refs #29784 -- Switched to https:// links where available.
Diffstat (limited to 'django/views/debug.py')
| -rw-r--r-- | django/views/debug.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/django/views/debug.py b/django/views/debug.py index 8a898c600b..b59fe29bdd 100644 --- a/django/views/debug.py +++ b/django/views/debug.py @@ -369,7 +369,7 @@ class ExceptionReporter: encoding = 'ascii' for line in source[:2]: # File coding may be specified. Match pattern from PEP-263 - # (http://www.python.org/dev/peps/pep-0263/) + # (https://www.python.org/dev/peps/pep-0263/) match = re.search(br'coding[:=]\s*([-\w.]+)', line) if match: encoding = match.group(1).decode('ascii') |
