Skip to content
Permalink
Browse files

Remove python future compatibility layer

  • Loading branch information
marioba authored and m-kuhn committed Aug 5, 2017
1 parent 2712f66 commit 78af413dcc3eb4a5753aac7c297da76c3280cc84
Showing with 2 additions and 157 deletions.
  1. +0 −3 python/console/console_editor.py
  2. +0 −5 python/plugins/MetaSearch/dialogs/maindialog.py
  3. +0 −3 python/plugins/MetaSearch/pavement.py
  4. +0 −3 python/plugins/MetaSearch/util.py
  5. +0 −2 python/plugins/db_manager/db_manager.py
  6. +0 −2 python/plugins/db_manager/db_plugins/vlayers/connector.py
  7. +0 −1 python/plugins/processing/algs/examplescripts/scripts/examplescript.py
  8. +0 −4 python/plugins/processing/algs/grass7/ext/i.py
  9. +0 −1 python/plugins/processing/algs/grass7/ext/i_albedo.py
  10. +0 −1 python/plugins/processing/algs/grass7/ext/i_aster_toar.py
  11. +0 −1 python/plugins/processing/algs/grass7/ext/i_cca.py
  12. +0 −1 python/plugins/processing/algs/grass7/ext/i_cluster.py
  13. +0 −1 python/plugins/processing/algs/grass7/ext/i_colors_enhance.py
  14. +0 −1 python/plugins/processing/algs/grass7/ext/i_evapo_mh.py
  15. +0 −1 python/plugins/processing/algs/grass7/ext/i_gensig.py
  16. +0 −1 python/plugins/processing/algs/grass7/ext/i_gensigset.py
  17. +0 −1 python/plugins/processing/algs/grass7/ext/i_group.py
  18. +0 −1 python/plugins/processing/algs/grass7/ext/i_landsat_acca.py
  19. +0 −1 python/plugins/processing/algs/grass7/ext/i_landsat_toar.py
  20. +0 −1 python/plugins/processing/algs/grass7/ext/i_maxlik.py
  21. +0 −1 python/plugins/processing/algs/grass7/ext/i_oif.py
  22. +0 −1 python/plugins/processing/algs/grass7/ext/i_pansharpen.py
  23. +0 −1 python/plugins/processing/algs/grass7/ext/i_pca.py
  24. +0 −1 python/plugins/processing/algs/grass7/ext/i_rectify.py
  25. +0 −1 python/plugins/processing/algs/grass7/ext/i_segment.py
  26. +0 −1 python/plugins/processing/algs/grass7/ext/i_smap.py
  27. +0 −1 python/plugins/processing/algs/grass7/ext/i_tasscap.py
  28. +0 −1 python/plugins/processing/algs/grass7/ext/i_topo_corr.py
  29. +0 −1 python/plugins/processing/algs/grass7/ext/r_li_cwed.py
  30. +0 −1 python/plugins/processing/algs/grass7/ext/r_li_cwed_ascii.py
  31. +0 −1 python/plugins/processing/algs/grass7/ext/r_li_dominance.py
  32. +0 −1 python/plugins/processing/algs/grass7/ext/r_li_dominance_ascii.py
  33. +0 −1 python/plugins/processing/algs/grass7/ext/r_li_edgedensity.py
  34. +0 −1 python/plugins/processing/algs/grass7/ext/r_li_edgedensity_ascii.py
  35. +0 −1 python/plugins/processing/algs/grass7/ext/r_li_mpa.py
  36. +0 −1 python/plugins/processing/algs/grass7/ext/r_li_mpa_ascii.py
  37. +0 −1 python/plugins/processing/algs/grass7/ext/r_li_mps.py
  38. +0 −1 python/plugins/processing/algs/grass7/ext/r_li_mps_ascii.py
  39. +0 −1 python/plugins/processing/algs/grass7/ext/r_li_padcv.py
  40. +0 −1 python/plugins/processing/algs/grass7/ext/r_li_padcv_ascii.py
  41. +0 −1 python/plugins/processing/algs/grass7/ext/r_li_padrange.py
  42. +0 −1 python/plugins/processing/algs/grass7/ext/r_li_padrange_ascii.py
  43. +0 −1 python/plugins/processing/algs/grass7/ext/r_li_padsd.py
  44. +0 −1 python/plugins/processing/algs/grass7/ext/r_li_padsd_ascii.py
  45. +0 −1 python/plugins/processing/algs/grass7/ext/r_li_patchdensity.py
  46. +0 −1 python/plugins/processing/algs/grass7/ext/r_li_patchdensity_ascii.py
  47. +0 −1 python/plugins/processing/algs/grass7/ext/r_li_patchnum.py
  48. +0 −1 python/plugins/processing/algs/grass7/ext/r_li_patchnum_ascii.py
  49. +0 −1 python/plugins/processing/algs/grass7/ext/r_li_pielou.py
  50. +0 −1 python/plugins/processing/algs/grass7/ext/r_li_pielou_ascii.py
  51. +0 −1 python/plugins/processing/algs/grass7/ext/r_li_renyi.py
  52. +0 −1 python/plugins/processing/algs/grass7/ext/r_li_renyi_ascii.py
  53. +0 −1 python/plugins/processing/algs/grass7/ext/r_li_richness.py
  54. +0 −1 python/plugins/processing/algs/grass7/ext/r_li_richness_ascii.py
  55. +0 −1 python/plugins/processing/algs/grass7/ext/r_li_shannon.py
  56. +0 −1 python/plugins/processing/algs/grass7/ext/r_li_shannon_ascii.py
  57. +0 −1 python/plugins/processing/algs/grass7/ext/r_li_shape.py
  58. +0 −1 python/plugins/processing/algs/grass7/ext/r_li_shape_ascii.py
  59. +0 −1 python/plugins/processing/algs/grass7/ext/r_li_simpson.py
  60. +0 −1 python/plugins/processing/algs/grass7/ext/r_li_simpson_ascii.py
  61. +0 −3 python/plugins/processing/algs/grass7/ext/r_mapcalc.py
  62. +0 −1 python/plugins/processing/algs/grass7/ext/r_mask_rast.py
  63. +0 −1 python/plugins/processing/algs/grass7/ext/r_mask_vect.py
  64. +0 −3 python/plugins/processing/algs/grass7/ext/r_rgb.py
  65. +0 −2 python/plugins/processing/algs/grass7/ext/r_tile.py
  66. +0 −3 python/plugins/processing/algs/grass7/nviz7.py
  67. +0 −3 python/plugins/processing/algs/qgis/FieldsMapper.py
  68. +0 −6 python/plugins/processing/algs/qgis/voronoi.py
  69. +0 −4 python/plugins/processing/algs/saga/SagaAlgorithm.py
  70. +0 −3 python/plugins/processing/algs/saga/SagaDescriptionCreator.py
  71. +0 −2 python/plugins/processing/algs/saga/SplitRGBBands.py
  72. +0 −2 python/plugins/processing/algs/saga/versioncheck.py
  73. +0 −3 python/plugins/processing/core/Processing.py
  74. +0 −3 python/plugins/processing/gui/BatchOutputSelectionPanel.py
  75. +0 −4 python/plugins/processing/tests/AlgorithmsTestBase.py
  76. +0 −4 python/plugins/processing/tools/general.py
  77. +0 −5 python/plugins/processing/tools/postgis.py
  78. +0 −7 python/plugins/processing/tools/vector.py
  79. +0 −4 python/pyplugin_installer/installer_data.py
  80. +0 −4 python/testing/__init__.py
  81. +0 −4 python/utils.py
  82. +0 −3 tests/src/python/qgis_wrapped_server.py
  83. +0 −2 tests/src/python/test_qgis_local_server.py
  84. +1 −2 tests/src/python/test_qgsfiledownloader.py
  85. +0 −2 tests/src/python/test_qgspallabeling_base.py
  86. +1 −2 tests/src/python/test_qgssettings.py
@@ -18,9 +18,6 @@
***************************************************************************/
Some portions of code were taken from https://code.google.com/p/pydee/
"""
from __future__ import print_function
from builtins import str
from builtins import range
from qgis.PyQt.QtCore import Qt, QObject, QEvent, QCoreApplication, QFileInfo, QSize
from qgis.PyQt.QtGui import QFont, QFontMetrics, QColor, QKeySequence, QCursor, QFontDatabase
from qgis.PyQt.QtWidgets import QShortcut, QMenu, QApplication, QWidget, QGridLayout, QSpacerItem, QSizePolicy, QFileDialog, QTabWidget, QTreeWidgetItem, QFrame, QLabel, QToolButton, QMessageBox
@@ -1,8 +1,3 @@
from future import standard_library
standard_library.install_aliases()
from builtins import map
from builtins import str
from builtins import range
# -*- coding: utf-8 -*-
###############################################################################
#
@@ -1,6 +1,3 @@
from future import standard_library
standard_library.install_aliases()
from builtins import str
# -*- coding: utf-8 -*-
###############################################################################
#
@@ -1,6 +1,3 @@
from future import standard_library
standard_library.install_aliases()
from builtins import object
# -*- coding: utf-8 -*-
###############################################################################
#
@@ -21,8 +21,6 @@
* *
***************************************************************************/
"""
from __future__ import absolute_import
from builtins import range

import functools

@@ -18,8 +18,6 @@
* *
***************************************************************************/
"""
from __future__ import print_function
from builtins import object

from qgis.PyQt.QtCore import QUrl, QTemporaryFile

@@ -1,4 +1,3 @@
from __future__ import print_function
##text=string
# fix_print_with_import

@@ -16,10 +16,6 @@
* *
***************************************************************************
"""
from future import standard_library
standard_library.install_aliases()
from builtins import str
from builtins import range

__author__ = 'Médéric Ribreux'
__date__ = 'April 2016'
@@ -16,7 +16,6 @@
* *
***************************************************************************
"""
from __future__ import absolute_import

__author__ = 'Médéric Ribreux'
__date__ = 'March 2016'
@@ -16,7 +16,6 @@
* *
***************************************************************************
"""
from __future__ import absolute_import

__author__ = 'Médéric Ribreux'
__date__ = 'March 2016'
@@ -16,7 +16,6 @@
* *
***************************************************************************
"""
from __future__ import absolute_import

__author__ = 'Médéric Ribreux'
__date__ = 'March 2016'
@@ -16,7 +16,6 @@
* *
***************************************************************************
"""
from __future__ import absolute_import

__author__ = 'Médéric Ribreux'
__date__ = 'March 2016'
@@ -16,7 +16,6 @@
* *
***************************************************************************
"""
from __future__ import absolute_import

__author__ = 'Médéric Ribreux'
__date__ = 'March 2016'
@@ -16,7 +16,6 @@
* *
***************************************************************************
"""
from __future__ import absolute_import

__author__ = 'Médéric Ribreux'
__date__ = 'March 2016'
@@ -16,7 +16,6 @@
* *
***************************************************************************
"""
from __future__ import absolute_import

__author__ = 'Médéric Ribreux'
__date__ = 'March 2016'
@@ -16,7 +16,6 @@
* *
***************************************************************************
"""
from __future__ import absolute_import

__author__ = 'Médéric Ribreux'
__date__ = 'March 2016'
@@ -16,7 +16,6 @@
* *
***************************************************************************
"""
from __future__ import absolute_import

__author__ = 'Médéric Ribreux'
__date__ = 'March 2016'
@@ -16,7 +16,6 @@
* *
***************************************************************************
"""
from __future__ import absolute_import

__author__ = 'Médéric Ribreux'
__date__ = 'March 2016'
@@ -16,7 +16,6 @@
* *
***************************************************************************
"""
from __future__ import absolute_import

__author__ = 'Médéric Ribreux'
__date__ = 'March 2016'
@@ -16,7 +16,6 @@
* *
***************************************************************************
"""
from __future__ import absolute_import

__author__ = 'Médéric Ribreux'
__date__ = 'March 2016'
@@ -16,7 +16,6 @@
* *
***************************************************************************
"""
from __future__ import absolute_import

__author__ = 'Médéric Ribreux'
__date__ = 'March 2016'
@@ -16,7 +16,6 @@
* *
***************************************************************************
"""
from __future__ import absolute_import

__author__ = 'Médéric Ribreux'
__date__ = 'March 2016'
@@ -16,7 +16,6 @@
* *
***************************************************************************
"""
from __future__ import absolute_import

__author__ = 'Médéric Ribreux'
__date__ = 'March 2016'
@@ -16,7 +16,6 @@
* *
***************************************************************************
"""
from __future__ import absolute_import

__author__ = 'Médéric Ribreux'
__date__ = 'April 2016'
@@ -16,7 +16,6 @@
* *
***************************************************************************
"""
from __future__ import absolute_import

__author__ = 'Médéric Ribreux'
__date__ = 'March 2016'
@@ -16,7 +16,6 @@
* *
***************************************************************************
"""
from __future__ import absolute_import

__author__ = 'Médéric Ribreux'
__date__ = 'March 2016'
@@ -16,7 +16,6 @@
* *
***************************************************************************
"""
from __future__ import absolute_import

__author__ = 'Médéric Ribreux'
__date__ = 'March 2016'
@@ -16,7 +16,6 @@
* *
***************************************************************************
"""
from __future__ import absolute_import

__author__ = 'Médéric Ribreux'
__date__ = 'April 2016'
@@ -16,7 +16,6 @@
* *
***************************************************************************
"""
from __future__ import absolute_import

__author__ = 'Médéric Ribreux'
__date__ = 'February 2016'
@@ -16,7 +16,6 @@
* *
***************************************************************************
"""
from __future__ import absolute_import

__author__ = 'Médéric Ribreux'
__date__ = 'February 2016'
@@ -16,7 +16,6 @@
* *
***************************************************************************
"""
from __future__ import absolute_import

__author__ = 'Médéric Ribreux'
__date__ = 'February 2016'
@@ -16,7 +16,6 @@
* *
***************************************************************************
"""
from __future__ import absolute_import

__author__ = 'Médéric Ribreux'
__date__ = 'February 2016'
@@ -16,7 +16,6 @@
* *
***************************************************************************
"""
from __future__ import absolute_import

__author__ = 'Médéric Ribreux'
__date__ = 'February 2016'
@@ -16,7 +16,6 @@
* *
***************************************************************************
"""
from __future__ import absolute_import

__author__ = 'Médéric Ribreux'
__date__ = 'February 2016'
@@ -16,7 +16,6 @@
* *
***************************************************************************
"""
from __future__ import absolute_import

__author__ = 'Médéric Ribreux'
__date__ = 'February 2016'
@@ -16,7 +16,6 @@
* *
***************************************************************************
"""
from __future__ import absolute_import

__author__ = 'Médéric Ribreux'
__date__ = 'February 2016'
@@ -16,7 +16,6 @@
* *
***************************************************************************
"""
from __future__ import absolute_import

__author__ = 'Médéric Ribreux'
__date__ = 'February 2016'
@@ -16,7 +16,6 @@
* *
***************************************************************************
"""
from __future__ import absolute_import

__author__ = 'Médéric Ribreux'
__date__ = 'February 2016'
@@ -16,7 +16,6 @@
* *
***************************************************************************
"""
from __future__ import absolute_import

__author__ = 'Médéric Ribreux'
__date__ = 'February 2016'
@@ -16,7 +16,6 @@
* *
***************************************************************************
"""
from __future__ import absolute_import

__author__ = 'Médéric Ribreux'
__date__ = 'February 2016'
@@ -16,7 +16,6 @@
* *
***************************************************************************
"""
from __future__ import absolute_import

__author__ = 'Médéric Ribreux'
__date__ = 'February 2016'
@@ -16,7 +16,6 @@
* *
***************************************************************************
"""
from __future__ import absolute_import

__author__ = 'Médéric Ribreux'
__date__ = 'February 2016'
@@ -16,7 +16,6 @@
* *
***************************************************************************
"""
from __future__ import absolute_import

__author__ = 'Médéric Ribreux'
__date__ = 'February 2016'
@@ -16,7 +16,6 @@
* *
***************************************************************************
"""
from __future__ import absolute_import

__author__ = 'Médéric Ribreux'
__date__ = 'February 2016'
@@ -16,7 +16,6 @@
* *
***************************************************************************
"""
from __future__ import absolute_import

__author__ = 'Médéric Ribreux'
__date__ = 'February 2016'
@@ -16,7 +16,6 @@
* *
***************************************************************************
"""
from __future__ import absolute_import

__author__ = 'Médéric Ribreux'
__date__ = 'February 2016'
@@ -16,7 +16,6 @@
* *
***************************************************************************
"""
from __future__ import absolute_import

__author__ = 'Médéric Ribreux'
__date__ = 'February 2016'
@@ -16,7 +16,6 @@
* *
***************************************************************************
"""
from __future__ import absolute_import

__author__ = 'Médéric Ribreux'
__date__ = 'February 2016'
@@ -16,7 +16,6 @@
* *
***************************************************************************
"""
from __future__ import absolute_import

__author__ = 'Médéric Ribreux'
__date__ = 'February 2016'

0 comments on commit 78af413

Please sign in to comment.
You can’t perform that action at this time.