]> git.pld-linux.org Git - packages/emesene.git/blame - plugins-pyc.patch
- works (mostly) ok; so rel 1
[packages/emesene.git] / plugins-pyc.patch
CommitLineData
dbe16685
ER
1--- emesene-1.6/PluginManager.py~ 2009-12-24 14:55:03.000000000 +0200
2+++ emesene-1.6/PluginManager.py 2010-03-21 13:11:23.769597184 +0200
3@@ -92,8 +92,8 @@
4 path = path + paths.DIR_SEP + package
5
6 modules = [ x.split( '.' )[ 0 ] for x in os.listdir( path ) \
7- if x.endswith( '.py' ) and not x.startswith( '_' ) \
8- and x != 'Plugin.py' ]
9+ if (x.endswith( '.py' ) or x.endswith ('.pyc')) and not x.startswith( '_' ) \
10+ and x != 'Plugin.py' and x != 'Plugin.pyc' ]
11 plugins = {}
12 plugins = plugins.fromkeys( modules )
13
This page took 1.243382 seconds and 4 git commands to generate.