/[pkgs]/devel/Django/Django-ignore-pyo-bz-495046.patch
ViewVC logotype

Contents of /devel/Django/Django-ignore-pyo-bz-495046.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download) (as text)
Sat Oct 10 00:52:09 2009 UTC (6 weeks, 4 days ago) by smilner
Branch: MAIN
CVS Tags: Django-1_1_1-2_fc13, Django-1_1_1-1_fc13, Django-1_1_1-1_fc12, HEAD
Changes since 1.1: +3 -3 lines
File MIME type: text/x-patch
proposed update for fix for http://www.djangoproject.com/weblog/2009/oct/09/security/
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))

admin@fedoraproject.org
ViewVC Help
Powered by ViewVC 1.1.2