Репозитории ALT
S: | 3.6.2-alt1.1 |
5.1: | 1.6.1-alt1 |
4.1: | 1.5.3-alt0.M41.1 |
4.0: | 1.4.0-alt1.M40.1 |
Группа :: Науки/Наука о земле
Пакет: gdal
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Патч: gdal-alt-python3.patch
Скачать
Скачать
diff --git a/gdal/swig/python/osgeo/gdal_array.py b/gdal/swig/python/osgeo/gdal_array.py
index fd6b555..2eb7079 100644
--- a/gdal/swig/python/osgeo/gdal_array.py
+++ b/gdal/swig/python/osgeo/gdal_array.py
@@ -17,7 +17,7 @@ if version_info >= (2, 6, 0):
try:
fp, pathname, description = imp.find_module('_gdal_array', [dirname(__file__)])
except ImportError:
- import _gdal_array
+ from osgeo import _gdal_array
return _gdal_array
if fp is not None:
try:
@@ -28,7 +28,7 @@ if version_info >= (2, 6, 0):
_gdal_array = swig_import_helper()
del swig_import_helper
else:
- import _gdal_array
+ from osgeo import _gdal_array
del version_info
try:
_swig_property = property