Ticket #13062: copy_warnoptions.diff
File copy_warnoptions.diff, 512 bytes (added by , 14 years ago) |
---|
-
django/utils/autoreload.py
diff --git a/django/utils/autoreload.py b/django/utils/autoreload.py index 8d9d6f2..51aaccd 100644
a b def reloader_thread(): 75 75 76 76 def restart_with_reloader(): 77 77 while True: 78 args = [sys.executable] + sys.argv78 args = [sys.executable] + ['-W%s' % o for o in sys.warnoptions] + sys.argv 79 79 if sys.platform == "win32": 80 80 args = ['"%s"' % arg for arg in args] 81 81 new_environ = os.environ.copy()