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

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to