SOURCES: smart-pyc.patch (NEW) - find plugins
patrys
patrys at pld-linux.org
Mon Jul 30 19:28:57 CEST 2007
Author: patrys Date: Mon Jul 30 17:28:57 2007 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- find plugins
---- Files affected:
SOURCES:
smart-pyc.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SOURCES/smart-pyc.patch
diff -u /dev/null SOURCES/smart-pyc.patch:1.1
--- /dev/null Mon Jul 30 19:28:57 2007
+++ SOURCES/smart-pyc.patch Mon Jul 30 19:28:52 2007
@@ -0,0 +1,13 @@
+--- smart-0.51/smart/channel.py~ 2005-12-14 20:27:17.000000000 +0100
++++ smart-0.51/smart/channel.py 2007-07-30 19:13:30.203002200 +0200
+@@ -296,8 +296,8 @@
+ filenames = os.listdir(os.path.dirname(channels.__file__))
+ infos = {}
+ for filename in filenames:
+- if filename.endswith("_info.py"):
+- type = filename[:-8].replace("_", "-")
++ if filename.endswith("_info.pyc"):
++ type = filename[:-9].replace("_", "-")
+ infos[type] = getChannelInfo(type)
+ return infos
+
================================================================
More information about the pld-cvs-commit
mailing list