Changeset 1425
- Timestamp:
- 11/04/06 14:34:35
- Files:
-
- trunk/cherrypy/_cptools.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/cherrypy/_cptools.py
r1423 r1425 95 95 method when the tool is "turned on" in config. 96 96 """ 97 f = getattr(self.callable, "failsafe", False)98 97 p = getattr(self.callable, "priority", self._priority) 99 cherrypy.request.hooks.attach(self._point, self.callable, failsafe=f,98 cherrypy.request.hooks.attach(self._point, self.callable, 100 99 priority=p, **self._merged_args()) 101 100 … … 137 136 method when the tool is "turned on" in config. 138 137 """ 139 f = getattr(self.callable, "failsafe", False)140 138 p = getattr(self.callable, "priority", self._priority) 141 cherrypy.request.hooks.attach(self._point, self._wrapper, failsafe=f,139 cherrypy.request.hooks.attach(self._point, self._wrapper, 142 140 priority=p, **self._merged_args()) 143 141

