Ticket #11621: Django-ignore-pyo-and-jython-classfile.diff
File Django-ignore-pyo-and-jython-classfile.diff, 574 bytes (added by , 15 years ago) |
---|
-
django/core/management/base.py
395 395 if subdir.startswith('.'): 396 396 del subdirs[i] 397 397 for f in files: 398 if f.endswith('.pyc'):398 if not f.endswith('.py'): 399 399 continue 400 400 path_old = os.path.join(d, f) 401 401 path_new = os.path.join(top_dir, relative_dir, f.replace('%s_name' % app_or_project, name))