Update of /cvsroot/freevo/freevo/src/helpers
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28192/helpers
Modified Files:
plugins.py
Log Message:
make sure all regexps end
Index: plugins.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/helpers/plugins.py,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -d -r1.9 -r1.10
*** plugins.py 31 Jan 2004 13:20:38 -0000 1.9
--- plugins.py 14 Feb 2004 15:06:59 -0000 1.10
***************
*** 14,17 ****
--- 14,20 ----
# -----------------------------------------------------------------------
# $Log$
+ # Revision 1.10 2004/02/14 15:06:59 dischi
+ # make sure all regexps end
+ #
# Revision 1.9 2004/01/31 13:20:38 dischi
# maybe there is no config string, do not crash on that
***************
*** 97,101 ****
whitespaces = 0
scan_config = 0
! for line in util.readfile(file):
if config_end.match(line) and scan_config:
scan_config = 0
--- 100,104 ----
whitespaces = 0
scan_config = 0
! for line in util.readfile(file) + [ 'class Foo' ]:
if config_end.match(line) and scan_config:
scan_config = 0
***************
*** 165,169 ****
print desc
print
-
if config_string.find('config') > 0:
exec(config_string)
--- 168,171 ----
-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
Freevo-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog