[Zope3-dev] small patch

sean.bowman@acm.org sean.bowman@acm.org
Sun, 19 Jan 2003 21:28:04 -0600 (CST)


Hello,

I noticed there's a misspelling in zopepublication.py; here's a patch

Sean

------

Index: zopepublication.py
===================================================================
RCS file:
/cvs-repository/Zope3/src/zope/app/publication/zopepublication.py,v
retrieving revision 1.7
diff -u -r1.7 zopepublication.py
--- zopepublication.py  2 Jan 2003 15:47:22 -0000       1.7
+++ zopepublication.py  20 Jan 2003 03:25:56 -0000
@@ -218,7 +218,7 @@

             # Convert ConflictErrors to Retry exceptions.
             if retry_allowed and isinstance(exc_info[1], ConflictError):
-                logger.getLogger('ZopePublication').warn(
+                logging.getLogger('ZopePublication').warn(
                     'Competing writes/reads at %s',
                     request.get('PATH_INFO', '???'),
                     exc_info=True)