/[thuban]/branches/WIP-pyshapelib-bramz/libraries/pyshapelib/shapelib.c
ViewVC logotype

Diff of /branches/WIP-pyshapelib-bramz/libraries/pyshapelib/shapelib.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch 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");

Legend:
Removed from v.1611  
changed lines
  Added in v.2637

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26