[Zodb-checkins] CVS: Zope3/src/ZConfig - url.py:1.7
Albertas Agejevas
alga@codeworks.lt
Thu, 13 Mar 2003 13:49:25 -0500
Update of /cvs-repository/Zope3/src/ZConfig
In directory cvs.zope.org:/tmp/cvs-serv1411/src/ZConfig
Modified Files:
url.py
Log Message:
An unexpected raid by the Whitespace Police.
Other than fixes of nonconforming whitespace, just a couple of $Id$
docstrings has been added.
=== Zope3/src/ZConfig/url.py 1.6 => 1.7 ===
--- Zope3/src/ZConfig/url.py:1.6 Tue Feb 4 12:27:02 2003
+++ Zope3/src/ZConfig/url.py Thu Mar 13 13:48:54 2003
@@ -48,9 +48,9 @@
parts = list(parts)
parts.insert(3, '')
url = _urlparse.urlunparse(tuple(parts))
- if ( parts[0] == "file"
- and url.startswith("file:/")
- and not url.startswith("file:///")):
+ if (parts[0] == "file"
+ and url.startswith("file:/")
+ and not url.startswith("file:///")):
url = "file://" + url[5:]
return url