Django

Code

Changeset 79

Show
Ignore:
Timestamp:
07/15/05 17:24:51 (3 years ago)
Author:
adrian
Message:

Changed django-admin startproject so that it doesn't copy .pyc files

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • django/trunk/django/bin/django-admin.py

    r68 r79  
    319319                del subdirs[i] 
    320320        for f in files: 
     321            if f.endswith('.pyc'): 
     322                continue 
    321323            fp_old = open(os.path.join(d, f), 'r') 
    322324            fp_new = open(os.path.join(top_dir, relative_dir, f.replace('%s_name' % app_or_project, name)), 'w')