Message4567
Logged In: YES
user_id=67116
Looks like an attribute error to me. consider this:
>>> getattr (t,fred,"thingy")
Traceback (most recent call last):
File "<stdin>", line 1, in ?
NameError: There is no variable named 'fred'
Ie, in your own example, it couldn't find an attribute '1'
in the class, even if its an integer attribute (which is
only obtainable using getattr/setattr). That's exactly what
AttributeError is |
|
Date |
User |
Action |
Args |
2007-08-23 13:54:25 | admin | link | issue420304 messages |
2007-08-23 13:54:25 | admin | create | |
|