Parent Directory
|
Revision Log
|
Patch
trunk/thuban/libraries/pyshapelib/shapelib.i revision 1611 by jan, Tue Aug 19 21:24:20 2003 UTC | branches/WIP-pyshapelib-bramz/libraries/pyshapelib/shapelib.i revision 2734 by bramz, Thu Mar 1 12:42:59 2007 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 |