| 1 |
diff -ur Django-1.1.1.old/django/core/management/base.py Django-1.1.1/django/core/management/base.py
|
| 2 |
--- Django-1.1.1.old/django/core/management/base.py 2009-08-01 19:57:57.326706120 -0400
|
| 3 |
+++ Django-1.1.1/django/core/management/base.py 2009-08-01 19:58:19.706707008 -0400
|
| 4 |
@@ -398,7 +398,7 @@
|
| 5 |
if subdir.startswith('.'):
|
| 6 |
del subdirs[i]
|
| 7 |
for f in files:
|
| 8 |
- if f.endswith('.pyc'):
|
| 9 |
+ if f.endswith('.pyc') or f.endswith('.pyo'):
|
| 10 |
continue
|
| 11 |
path_old = os.path.join(d, f)
|
| 12 |
path_new = os.path.join(top_dir, relative_dir, f.replace('%s_name' % app_or_project, name))
|