Loading django/contrib/gis/gdal/feature.py +1 −2 Original line number Diff line number Diff line Loading @@ -24,8 +24,7 @@ class Feature(GDALBase): #### Python 'magic' routines #### def __init__(self, feat, layer): """ Initializes on the feature pointers for the feature and the layer definition, as well as the Layer. Initializes Feature from a pointer and its Layer object. """ if not feat: raise OGRException('Cannot create OGR Feature, invalid pointer given.') Loading django/contrib/gis/gdal/tests/test_ds.py +1 −2 Original line number Diff line number Diff line Loading @@ -126,8 +126,7 @@ class DataSourceTest(unittest.TestCase): def test03c_layer_references(self): """ Test to make sure Layer/Feature access is still available without the DataSource/Feature. Ensure OGR objects keep references to the objects they belong to. """ source = ds_list[0] Loading Loading
django/contrib/gis/gdal/feature.py +1 −2 Original line number Diff line number Diff line Loading @@ -24,8 +24,7 @@ class Feature(GDALBase): #### Python 'magic' routines #### def __init__(self, feat, layer): """ Initializes on the feature pointers for the feature and the layer definition, as well as the Layer. Initializes Feature from a pointer and its Layer object. """ if not feat: raise OGRException('Cannot create OGR Feature, invalid pointer given.') Loading
django/contrib/gis/gdal/tests/test_ds.py +1 −2 Original line number Diff line number Diff line Loading @@ -126,8 +126,7 @@ class DataSourceTest(unittest.TestCase): def test03c_layer_references(self): """ Test to make sure Layer/Feature access is still available without the DataSource/Feature. Ensure OGR objects keep references to the objects they belong to. """ source = ds_list[0] Loading