Ticket #23083: 23083_2.diff

File 23083_2.diff, 506 bytes (added by Hiroki Kiyohara, 10 years ago)

This is the one.

  • 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):  
    8888    """
    8989    global _cached_modules, _cached_filenames
    9090    module_values = set(sys.modules.values())
     91    _cached_filenames = clean_files(_cached_filenames)
    9192    if _cached_modules == module_values:
    9293        # No changes in module list, short-circuit the function
    9394        if only_new:
Back to Top