diff options
| author | François Freitag <mail@franek.fr> | 2020-05-13 07:12:18 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-05-13 09:12:18 +0200 |
| commit | 7cd88b3fece1c17f5ee905c78222a28594fee215 (patch) | |
| tree | ee0def3667098e9ebe1003d8ea4dc2611ce87708 /django/utils | |
| parent | 05ed7104c0bc069352b2cee85ab918e48ee73cbe (diff) | |
Updated logging calls to use arguments instead of string interpolation.
Diffstat (limited to 'django/utils')
| -rw-r--r-- | django/utils/autoreload.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/django/utils/autoreload.py b/django/utils/autoreload.py index 845c46c8d4..873f3d8367 100644 --- a/django/utils/autoreload.py +++ b/django/utils/autoreload.py @@ -145,7 +145,7 @@ def iter_modules_and_files(modules, extra_files): continue except ValueError as e: # Network filesystems may return null bytes in file paths. - logger.debug('"%s" raised when resolving path: "%s"' % (str(e), path)) + logger.debug('"%s" raised when resolving path: "%s"', e, path) continue results.add(resolved_path) return frozenset(results) |
