[Zope-Checkins] CVS: Packages/ZConfig - ApacheStyle.py:1.2

Fred L. Drake, Jr. fdrake@acm.org
Mon, 21 Oct 2002 14:40:09 -0400


Update of /cvs-repository/Packages/ZConfig
In directory cvs.zope.org:/tmp/cvs-serv15975

Modified Files:
	ApacheStyle.py 
Log Message:
An empty value showed up as None; this forces it to be a string.


=== Packages/ZConfig/ApacheStyle.py 1.1 => 1.2 ===
--- Packages/ZConfig/ApacheStyle.py:1.1	Tue Oct  8 17:42:17 2002
+++ Packages/ZConfig/ApacheStyle.py	Mon Oct 21 14:40:09 2002
@@ -76,6 +76,8 @@
             newurl = urlparse.urljoin(section.url, value)
             context.includeConfiguration(section, newurl)
         else:
+            if not value:
+                value = ''
             try:
                 section.addValue(key, value)
             except ConfigurationError, e: