Apply patch SF #334 - Fix Python default value conversions TRUE->True, FALSE->False.

This commit is contained in:
William S Fulton 2013-01-29 07:28:32 +00:00
commit d172e3d0ed
4 changed files with 6 additions and 11 deletions

View file

@ -1556,7 +1556,7 @@ public:
else
return v;
}
if (Strcmp(v, "true") == 0 || Strcmp(v, "FALSE") == 0)
if (Strcmp(v, "true") == 0 || Strcmp(v, "TRUE") == 0)
return NewString("True");
if (Strcmp(v, "false") == 0 || Strcmp(v, "FALSE") == 0)
return NewString("False");