Rich Shepard wrote:
Traceback (most recent call last):
File "./biolwq.py", line 513, in <module>
frame_1 = OneFrame(None, -1, "")
File "./biolwq.py", line 59, in __init__
self.projDB = LoginDialog(self)
File
"/.../postgresLogin.py",
line 92, in __init__
data['port']='5432' TypeError: 'OneFrame' object does not support
item assignment
class OneFrame(wx.Frame)
In order to support item assignment the `__setitem__` method must be
defined. I do not see that in the `OneFrame` class, so unless
`wx.Frame` has it, it won't work.
My question is: should `data` actually be a `OneFrame` object, or
should it be some other namespace/object?
~Ethan~
_______________________________________________
Portland mailing list
[email protected]
http://mail.python.org/mailman/listinfo/portland