Ticket #2187 (closed defect: fixed)

Opened 4 months ago

Last modified 4 months ago

layer __getitem__ bug

Reported by: timaranz Assigned to: hobu
Priority: normal Milestone: 1.5.1
Component: PythonBindings Version: svn-trunk
Severity: normal Keywords:
Cc:

Description

I found a bug in the layer.getitem method of the python bindings. It is trying to use the types module but it hasn't been imported (or rather it's been imported and deleted again.), and it doesn't import it explicitly itself.

Attachments

ogr.py.patch (1.7 kB) - added by timaranz on 01/31/08 21:32:50.
patch for swig\python\osgeo\ogr.py

Change History

01/31/08 21:32:50 changed by timaranz

  • attachment ogr.py.patch added.

patch for swig\python\osgeo\ogr.py

01/31/08 22:54:18 changed by hobu

  • status changed from new to closed.
  • resolution set to fixed.
  • milestone set to 1.5.1.

Fixed in r13647 and backported to 1.5 branch in r13648.