One NULL should have been 0.
This commit is contained in:
parent
721cd289ef
commit
93fcb9bbbd
|
@ -1902,7 +1902,7 @@ form_setattr(f, name, v)
|
|||
|
||||
if (v == NULL) {
|
||||
err_setstr(TypeError, "can't delete form attributes");
|
||||
return NULL;
|
||||
return 0;
|
||||
}
|
||||
|
||||
return setmember((char *)f->ob_form, form_memberlist, name, v);
|
||||
|
|
Loading…
Reference in New Issue