Author: dmeyer
Date: Sat Feb  3 12:16:32 2007
New Revision: 2452

Modified:
   trunk/base/src/config.py

Log:
support - in config file

Modified: trunk/base/src/config.py
==============================================================================
--- trunk/base/src/config.py    (original)
+++ trunk/base/src/config.py    Sat Feb  3 12:16:32 2007
@@ -652,8 +652,8 @@
             filename = self._filename
         elif remember:
             self._filename = filename
-        line_regexp = re.compile('^([a-zA-Z0-9_]+|\[.*?\]|\.)+ *= *(.*)')
-        key_regexp = re.compile('(([a-zA-Z0-9_]+)|(\[.*?\]))')
+        line_regexp = re.compile('^([a-zA-Z0-9_-]+|\[.*?\]|\.)+ *= *(.*)')
+        key_regexp = re.compile('(([a-zA-Z0-9_-]+)|(\[.*?\]))')
 
         if not os.path.isfile(filename):
             # filename not found

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Freevo-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog

Reply via email to