SOURCES: python-django-pyc.patch - look for command modules in *.py files t...
jajcus
jajcus at pld-linux.org
Sat Sep 6 21:01:02 CEST 2008
Author: jajcus Date: Sat Sep 6 19:01:01 2008 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- look for command modules in *.py files too. PLD doesn't provide those, but custom apps may
---- Files affected:
SOURCES:
python-django-pyc.patch (1.1 -> 1.2)
---- Diffs:
================================================================
Index: SOURCES/python-django-pyc.patch
diff -u SOURCES/python-django-pyc.patch:1.1 SOURCES/python-django-pyc.patch:1.2
--- SOURCES/python-django-pyc.patch:1.1 Thu Sep 4 17:14:40 2008
+++ SOURCES/python-django-pyc.patch Sat Sep 6 21:00:56 2008
@@ -7,7 +7,7 @@
- return [f[:-3] for f in os.listdir(command_dir)
- if not f.startswith('_') and f.endswith('.py')]
+ return [f[:-4] for f in os.listdir(command_dir)
-+ if not f.startswith('_') and f.endswith('.pyc')]
++ if not f.startswith('_') and (f.endswith('.pyc') or f.endswith('.py'))]
except OSError:
return []
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/python-django-pyc.patch?r1=1.1&r2=1.2&f=u
More information about the pld-cvs-commit
mailing list