|
[Webware-checkins] r8148 - Webware/trunk/WebKit
From: <updates@we...> - 2010-12-15 00:44
|
Author: chrisz
Date: Tue Dec 14 17:02:20 2010
New Revision: 8148
Log:
The IncludeEditLink setting has always been ignored (assumed to be True).
Modified:
Webware/trunk/WebKit/Application.py
Webware/trunk/WebKit/ExceptionHandler.py
Modified: Webware/trunk/WebKit/Application.py
==============================================================================
--- Webware/trunk/WebKit/Application.py Thu Oct 28 12:51:50 2010 (r8147)
+++ Webware/trunk/WebKit/Application.py Tue Dec 14 17:02:20 2010 (r8148)
@@ -322,7 +322,7 @@
shutDownHandler()
del self._shutDownHandlers
- print "Application has been succesfully shutdown."
+ print "Application has been successfully shutdown."
def addShutDownHandler(self, func):
"""Add a shutdown handler.
@@ -866,7 +866,8 @@
"""
request = trans.request()
- editlink = request.adapterName() + "/Admin/EditFile"
+ editlink = (self.setting('IncludeEditLink')
+ and request.adapterName() + "/Admin/EditFile" or None)
self._exceptionHandlerClass(self, trans, excInfo,
dict(editlink=editlink))
Modified: Webware/trunk/WebKit/ExceptionHandler.py
==============================================================================
--- Webware/trunk/WebKit/ExceptionHandler.py Thu Oct 28 12:51:50 2010 (r8147)
+++ Webware/trunk/WebKit/ExceptionHandler.py Tue Dec 14 17:02:20 2010 (r8148)
@@ -101,7 +101,7 @@
ExceptionHandler instances are created anew for each exception.
Instantiating ExceptionHandler completes the process --
- the caller need not do anything else.
+ the caller need not do anything else.
"""
# Keep references to the objects
|
| Thread | Author | Date |
|---|---|---|
| [Webware-checkins] r8148 - Webware/trunk/WebKit | <updates@we...> |