Ticket #11621: Django-ignore-pyo-bz-495046.patch
File Django-ignore-pyo-bz-495046.patch, 593 bytes (added by , 15 years ago) |
---|
-
django/core/management/base.py
398 398 if subdir.startswith('.'): 399 399 del subdirs[i] 400 400 for f in files: 401 if f.endswith('.pyc') :401 if f.endswith('.pyc') or f.endswith('.pyo'): 402 402 continue 403 403 path_old = os.path.join(d, f) 404 404 path_new = os.path.join(top_dir, relative_dir, f.replace('%s_name' % app_or_project, name))