I've run into an odd problem. I've been using sets, and they've been
working fine except that suddenly in one of my POST classes, they
crash the script with the following error:

<type 'exceptions.UnboundLocalError'> at /new/file
local variable 'set' referenced before assignment

The code is as follows:

def POST(self, edit_id=False, action='post', new_type=''):
        x = set()

Pretty straightforward, and they work everywhere else, but why not
here?

If you have any ideas, I would be ecstatic to hear them!

-Dougal


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web.py" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/webpy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to