commit-gnue
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gnue] r10065 - trunk/gnue-common/src/base


From: reinhard
Subject: [gnue] r10065 - trunk/gnue-common/src/base
Date: Thu, 26 Nov 2009 15:12:48 -0600 (CST)

Author: reinhard
Date: 2009-11-26 15:12:48 -0600 (Thu, 26 Nov 2009)
New Revision: 10065

Modified:
   trunk/gnue-common/src/base/config.py
Log:
Fixed typo.


Modified: trunk/gnue-common/src/base/config.py
===================================================================
--- trunk/gnue-common/src/base/config.py        2009-11-26 14:05:07 UTC (rev 
10064)
+++ trunk/gnue-common/src/base/config.py        2009-11-26 21:12:48 UTC (rev 
10065)
@@ -82,7 +82,7 @@
             try:
                 # Workaround for Windows file names starting with C: and being
                 # mistaken for C: being the URL type.
-                if len(url) > 2 and url[2] == ':':
+                if len(url) > 2 and url[1] == ':':
                     url = "file:" + url
                 handle = urllib.urlopen(url)
                 self.readfp (handle)





reply via email to

[Prev in Thread] Current Thread [Next in Thread]