SOURCES: python-django-pyc.patch (NEW) - PLD doesn't package .py files
patrys
patrys at pld-linux.org
Thu Sep 4 17:14:45 CEST 2008
Author: patrys Date: Thu Sep 4 15:14:45 2008 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- PLD doesn't package .py files
---- Files affected:
SOURCES:
python-django-pyc.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SOURCES/python-django-pyc.patch
diff -u /dev/null SOURCES/python-django-pyc.patch:1.1
--- /dev/null Thu Sep 4 17:14:46 2008
+++ SOURCES/python-django-pyc.patch Thu Sep 4 17:14:40 2008
@@ -0,0 +1,13 @@
+--- Django-1.0/django/core/management/__init__.py~ 2008-09-04 16:59:20.000000000 +0200
++++ Django-1.0/django/core/management/__init__.py 2008-09-04 17:03:06.523177611 +0200
+@@ -22,8 +22,8 @@
+ """
+ command_dir = os.path.join(management_dir, 'commands')
+ try:
+- 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')]
+ except OSError:
+ return []
+
================================================================
More information about the pld-cvs-commit
mailing list