On 2005-07-08 23:51:59, Stian S?iland wrote:
Now cut out the line "import nav.web.auth" and paste it again inside "def headerparserhandler" right above the line "import state". Make sure the lines are all indented the same way. ie:
Important thing I forgot to mention.. the old import line must be deleted, not just copied. The whole idea is to delay the import of nav.web.auth to the call of headerparserhandler() - as nav.web.auth will import nav.web.preferences and thereby nav/web/__init__.py - creating a dead lock.