1 Aug
2002
1 Aug
'02
3:52 p.m.
In article <OF3EEA3711.F3B5910E-ONC1256C08.0055918F@LocalDomain> you write:
UnboundLocalError: local variable 'new' referenced before assignment -->
I don't understand exactly why this code is run in my case, but looking at HTTPRequest.py, line 640, it looks buggy:
while not a=='': a=a.split( ":") a,new=':'.join(a[:-1]), a[-1] attr = new
If a == '', new is never assigned. Is anyone around who knows what's going on there, and how to fix the bug?
Yep, it's a bug. Please report it in the Collector: http://collector.zope.org/Zope Florent -- Florent Guillaume, Nuxeo (Paris, France) +33 1 40 33 79 87 http://nuxeo.com mailto:fg@nuxeo.com