Parent Directory
|
Revision Log
|
Patch
revision 1611 by jan, Tue Aug 19 21:24:20 2003 UTC | revision 2637 by bh, Thu Jun 30 14:20:46 2005 UTC | |
---|---|---|
# | Line 192 SHPObject * new_SHPObject(int type, int | Line 192 SHPObject * new_SHPObject(int type, int |
192 | ||
193 | /* parts and part_types have to have the same lengths */ | /* parts and part_types have to have the same lengths */ |
194 | if (part_type_list | if (part_type_list |
195 | && PySequence_Length(part) != PySequence_Length(part_type_list)) | && PySequence_Length(parts) != PySequence_Length(part_type_list)) |
196 | { | { |
197 | PyErr_SetString(PyExc_TypeError, | PyErr_SetString(PyExc_TypeError, |
198 | "parts and part_types have to have the same lengths"); | "parts and part_types have to have the same lengths"); |
|
[email protected] | ViewVC Help |
Powered by ViewVC 1.1.26 |