Ticket #11621: Django-ignore-pyo-bz-495046.patch

File Django-ignore-pyo-bz-495046.patch, 593 bytes (added by Steve Milner, 15 years ago)

Does not copy over pyo's

  • django/core/management/base.py

     
    398398            if subdir.startswith('.'):
    399399                del subdirs[i]
    400400        for f in files:
    401             if f.endswith('.pyc'):
     401            if f.endswith('.pyc') or f.endswith('.pyo'):
    402402                continue
    403403            path_old = os.path.join(d, f)
    404404            path_new = os.path.join(top_dir, relative_dir, f.replace('%s_name' % app_or_project, name))
Back to Top