Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
D
django
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
Batuhan Osman TASKAYA
django
Commits
8f334e55
Kaydet (Commit)
8f334e55
authored
Eyl 12, 2014
tarafından
Claude Paroz
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Fixed #13843 -- Prevented AttributeError during geometry objects deletion
üst
b011afe6
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
7 additions
and
7 deletions
+7
-7
datasource.py
django/contrib/gis/gdal/datasource.py
+1
-1
feature.py
django/contrib/gis/gdal/feature.py
+1
-1
geometries.py
django/contrib/gis/gdal/geometries.py
+1
-1
srs.py
django/contrib/gis/gdal/srs.py
+1
-1
geometry.py
django/contrib/gis/geos/geometry.py
+1
-1
prepared.py
django/contrib/gis/geos/prepared.py
+1
-1
threadsafe.py
django/contrib/gis/geos/prototypes/threadsafe.py
+1
-1
No files found.
django/contrib/gis/gdal/datasource.py
Dosyayı görüntüle @
8f334e55
...
@@ -96,7 +96,7 @@ class DataSource(GDALBase):
...
@@ -96,7 +96,7 @@ class DataSource(GDALBase):
def
__del__
(
self
):
def
__del__
(
self
):
"Destroys this DataStructure object."
"Destroys this DataStructure object."
if
self
.
_ptr
:
if
self
.
_ptr
and
capi
:
capi
.
destroy_ds
(
self
.
_ptr
)
capi
.
destroy_ds
(
self
.
_ptr
)
def
__iter__
(
self
):
def
__iter__
(
self
):
...
...
django/contrib/gis/gdal/feature.py
Dosyayı görüntüle @
8f334e55
...
@@ -34,7 +34,7 @@ class Feature(GDALBase):
...
@@ -34,7 +34,7 @@ class Feature(GDALBase):
def
__del__
(
self
):
def
__del__
(
self
):
"Releases a reference to this object."
"Releases a reference to this object."
if
self
.
_ptr
:
if
self
.
_ptr
and
capi
:
capi
.
destroy_feature
(
self
.
_ptr
)
capi
.
destroy_feature
(
self
.
_ptr
)
def
__getitem__
(
self
,
index
):
def
__getitem__
(
self
,
index
):
...
...
django/contrib/gis/gdal/geometries.py
Dosyayı görüntüle @
8f334e55
...
@@ -127,7 +127,7 @@ class OGRGeometry(GDALBase):
...
@@ -127,7 +127,7 @@ class OGRGeometry(GDALBase):
def
__del__
(
self
):
def
__del__
(
self
):
"Deletes this Geometry."
"Deletes this Geometry."
if
self
.
_ptr
:
if
self
.
_ptr
and
capi
:
capi
.
destroy_geom
(
self
.
_ptr
)
capi
.
destroy_geom
(
self
.
_ptr
)
# Pickle routines
# Pickle routines
...
...
django/contrib/gis/gdal/srs.py
Dosyayı görüntüle @
8f334e55
...
@@ -97,7 +97,7 @@ class SpatialReference(GDALBase):
...
@@ -97,7 +97,7 @@ class SpatialReference(GDALBase):
def
__del__
(
self
):
def
__del__
(
self
):
"Destroys this spatial reference."
"Destroys this spatial reference."
if
self
.
_ptr
:
if
self
.
_ptr
and
capi
:
capi
.
release_srs
(
self
.
_ptr
)
capi
.
release_srs
(
self
.
_ptr
)
def
__getitem__
(
self
,
target
):
def
__getitem__
(
self
,
target
):
...
...
django/contrib/gis/geos/geometry.py
Dosyayı görüntüle @
8f334e55
...
@@ -115,7 +115,7 @@ class GEOSGeometry(GEOSBase, ListMixin):
...
@@ -115,7 +115,7 @@ class GEOSGeometry(GEOSBase, ListMixin):
Destroys this Geometry; in other words, frees the memory used by the
Destroys this Geometry; in other words, frees the memory used by the
GEOS C++ object.
GEOS C++ object.
"""
"""
if
self
.
_ptr
:
if
self
.
_ptr
and
capi
:
capi
.
destroy_geom
(
self
.
_ptr
)
capi
.
destroy_geom
(
self
.
_ptr
)
def
__copy__
(
self
):
def
__copy__
(
self
):
...
...
django/contrib/gis/geos/prepared.py
Dosyayı görüntüle @
8f334e55
...
@@ -23,7 +23,7 @@ class PreparedGeometry(GEOSBase):
...
@@ -23,7 +23,7 @@ class PreparedGeometry(GEOSBase):
self
.
ptr
=
capi
.
geos_prepare
(
geom
.
ptr
)
self
.
ptr
=
capi
.
geos_prepare
(
geom
.
ptr
)
def
__del__
(
self
):
def
__del__
(
self
):
if
self
.
_ptr
:
if
self
.
_ptr
and
capi
:
capi
.
prepared_destroy
(
self
.
_ptr
)
capi
.
prepared_destroy
(
self
.
_ptr
)
def
contains
(
self
,
other
):
def
contains
(
self
,
other
):
...
...
django/contrib/gis/geos/prototypes/threadsafe.py
Dosyayı görüntüle @
8f334e55
...
@@ -12,7 +12,7 @@ class GEOSContextHandle(object):
...
@@ -12,7 +12,7 @@ class GEOSContextHandle(object):
self
.
ptr
=
lgeos
.
initGEOS_r
(
notice_h
,
error_h
)
self
.
ptr
=
lgeos
.
initGEOS_r
(
notice_h
,
error_h
)
def
__del__
(
self
):
def
__del__
(
self
):
if
self
.
ptr
:
if
self
.
ptr
and
lgeos
:
lgeos
.
finishGEOS_r
(
self
.
ptr
)
lgeos
.
finishGEOS_r
(
self
.
ptr
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment