Ticket #23083: 23083_2.diff
File 23083_2.diff, 506 bytes (added by , 10 years ago) |
---|
-
django/utils/autoreload.py
diff --git a/django/utils/autoreload.py b/django/utils/autoreload.py index b232a51..cba555e 100644
a b def gen_filenames(only_new=False): 88 88 """ 89 89 global _cached_modules, _cached_filenames 90 90 module_values = set(sys.modules.values()) 91 _cached_filenames = clean_files(_cached_filenames) 91 92 if _cached_modules == module_values: 92 93 # No changes in module list, short-circuit the function 93 94 if only_new: