author | jhermann <jhermann@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Sat, 24 Nov 2001 00:45:42 +0000 (00:45 +0000) | ||
committer | jhermann <jhermann@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Sat, 24 Nov 2001 00:45:42 +0000 (00:45 +0000) | ||
commit | c61050c5c4d83aa910930e90f0ed6777e76f13ef | |
tree | 46702468d31708668f053379bc677f6d9acb67d5 | tree | snapshot |
parent | 7d090d036546fee25381ecc6ddaddfd26317c9c3 | commit | diff |
typeof() instead of type(): avoid clash with database field(?) "type"
Fixes this traceback:
Traceback (most recent call last):
File "roundup\cgi_client.py", line 535, in newnode
self._post_editnode(nid)
File "roundup\cgi_client.py", line 415, in _post_editnode
if type(value) != type([]): value = [value]
UnboundLocalError: local variable 'type' referenced before assignment
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@419 57a73879-2fb5-44c3-a270-3262357dd7e2
Fixes this traceback:
Traceback (most recent call last):
File "roundup\cgi_client.py", line 535, in newnode
self._post_editnode(nid)
File "roundup\cgi_client.py", line 415, in _post_editnode
if type(value) != type([]): value = [value]
UnboundLocalError: local variable 'type' referenced before assignment
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@419 57a73879-2fb5-44c3-a270-3262357dd7e2
roundup/cgi_client.py | diff | blob | history |