[Zope3-checkins] CVS: Zope3/lib/python/Zope/Configuration - xmlconfig.py:1.8.6.2

Jim Fulton jim@zope.com
Mon, 21 Oct 2002 08:50:55 -0400


Update of /cvs-repository/Zope3/lib/python/Zope/Configuration
In directory cvs.zope.org:/tmp/cvs-serv23954

Modified Files:
      Tag: Zope3-Bangalore-TTW-Branch
	xmlconfig.py 
Log Message:
Made conflicting configuration error report formatting more emacs
compile-mode friendly.

=== Zope3/lib/python/Zope/Configuration/xmlconfig.py 1.8.6.1 => 1.8.6.2 ===
--- Zope3/lib/python/Zope/Configuration/xmlconfig.py:1.8.6.1	Mon Oct 21 05:54:18 2002
+++ Zope3/lib/python/Zope/Configuration/xmlconfig.py	Mon Oct 21 08:50:54 2002
@@ -252,7 +252,8 @@
         for dis, locs in self._conflicts.items():
             r.append('for: %s' % (dis,))
             for loc in locs:
-                r.append("  at line %s column %s of %s" % loc)
+                r.append('  File "%s", line %s column %s' %
+                         (loc[2], loc[0], loc[1]))
         
         return "\n".join(r)