#800: bootstrap_ep used before assignment
------------------------+-----------------------------------
Reporter: olemis | Owner: rjollos
Type: defect | Status: review
Priority: critical | Milestone:
Component: trac core | Version: 0.8.0dev
Resolution: | Keywords: web bootstrap handler
------------------------+-----------------------------------
Changes (by olemis):
* owner: olemis => rjollos
* status: accepted => review
Comment:
This change should fix it
{{{#!diff
Index: trac/trac/web/main.py
===================================================================
--- trac/trac/web/main.py (revision 1587296)
+++ trac/trac/web/main.py (working copy)
@@ -383,7 +383,8 @@
# Load handler for environment lookup and instantiation of request
objects
from trac.hooks import load_bootstrap_handler
- bootstrap = load_bootstrap_handler(environ['trac.bootstrap_handler'],
+ bootstrap_ep = environ['trac.bootstrap_handler']
+ bootstrap = load_bootstrap_handler(bootstrap_ep,
environ.get('wsgi.errors'))
# Determine the environment
}}}
--
Ticket URL: <https://issues.apache.org/bloodhound/ticket/800#comment:2>
Apache Bloodhound <https://issues.apache.org/bloodhound/>
The Apache Bloodhound issue tracker