Skip to content

Commit

Permalink
Remove python future compatibility layer
Browse files Browse the repository at this point in the history
  • Loading branch information
marioba authored and m-kuhn committed Aug 7, 2017
1 parent 2712f66 commit 78af413
Show file tree
Hide file tree
Showing 86 changed files with 2 additions and 157 deletions.
3 changes: 0 additions & 3 deletions python/console/console_editor.py
Expand Up @@ -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
Expand Down
5 changes: 0 additions & 5 deletions python/plugins/MetaSearch/dialogs/maindialog.py
@@ -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 -*-
###############################################################################
#
Expand Down
3 changes: 0 additions & 3 deletions python/plugins/MetaSearch/pavement.py
@@ -1,6 +1,3 @@
from future import standard_library
standard_library.install_aliases()
from builtins import str
# -*- coding: utf-8 -*-
###############################################################################
#
Expand Down
3 changes: 0 additions & 3 deletions python/plugins/MetaSearch/util.py
@@ -1,6 +1,3 @@
from future import standard_library
standard_library.install_aliases()
from builtins import object
# -*- coding: utf-8 -*-
###############################################################################
#
Expand Down
2 changes: 0 additions & 2 deletions python/plugins/db_manager/db_manager.py
Expand Up @@ -21,8 +21,6 @@
* *
***************************************************************************/
"""
from __future__ import absolute_import
from builtins import range

import functools

Expand Down
2 changes: 0 additions & 2 deletions python/plugins/db_manager/db_plugins/vlayers/connector.py
Expand Up @@ -18,8 +18,6 @@
* *
***************************************************************************/
"""
from __future__ import print_function
from builtins import object

from qgis.PyQt.QtCore import QUrl, QTemporaryFile

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

Expand Down
4 changes: 0 additions & 4 deletions python/plugins/processing/algs/grass7/ext/i.py
Expand Up @@ -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'
Expand Down
1 change: 0 additions & 1 deletion python/plugins/processing/algs/grass7/ext/i_albedo.py
Expand Up @@ -16,7 +16,6 @@
* *
***************************************************************************
"""
from __future__ import absolute_import

__author__ = 'Médéric Ribreux'
__date__ = 'March 2016'
Expand Down
1 change: 0 additions & 1 deletion python/plugins/processing/algs/grass7/ext/i_aster_toar.py
Expand Up @@ -16,7 +16,6 @@
* *
***************************************************************************
"""
from __future__ import absolute_import

__author__ = 'Médéric Ribreux'
__date__ = 'March 2016'
Expand Down
1 change: 0 additions & 1 deletion python/plugins/processing/algs/grass7/ext/i_cca.py
Expand Up @@ -16,7 +16,6 @@
* *
***************************************************************************
"""
from __future__ import absolute_import

__author__ = 'Médéric Ribreux'
__date__ = 'March 2016'
Expand Down
1 change: 0 additions & 1 deletion python/plugins/processing/algs/grass7/ext/i_cluster.py
Expand Up @@ -16,7 +16,6 @@
* *
***************************************************************************
"""
from __future__ import absolute_import

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

__author__ = 'Médéric Ribreux'
__date__ = 'March 2016'
Expand Down
1 change: 0 additions & 1 deletion python/plugins/processing/algs/grass7/ext/i_evapo_mh.py
Expand Up @@ -16,7 +16,6 @@
* *
***************************************************************************
"""
from __future__ import absolute_import

__author__ = 'Médéric Ribreux'
__date__ = 'March 2016'
Expand Down
1 change: 0 additions & 1 deletion python/plugins/processing/algs/grass7/ext/i_gensig.py
Expand Up @@ -16,7 +16,6 @@
* *
***************************************************************************
"""
from __future__ import absolute_import

__author__ = 'Médéric Ribreux'
__date__ = 'March 2016'
Expand Down
1 change: 0 additions & 1 deletion python/plugins/processing/algs/grass7/ext/i_gensigset.py
Expand Up @@ -16,7 +16,6 @@
* *
***************************************************************************
"""
from __future__ import absolute_import

__author__ = 'Médéric Ribreux'
__date__ = 'March 2016'
Expand Down
1 change: 0 additions & 1 deletion python/plugins/processing/algs/grass7/ext/i_group.py
Expand Up @@ -16,7 +16,6 @@
* *
***************************************************************************
"""
from __future__ import absolute_import

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

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

__author__ = 'Médéric Ribreux'
__date__ = 'March 2016'
Expand Down
1 change: 0 additions & 1 deletion python/plugins/processing/algs/grass7/ext/i_maxlik.py
Expand Up @@ -16,7 +16,6 @@
* *
***************************************************************************
"""
from __future__ import absolute_import

__author__ = 'Médéric Ribreux'
__date__ = 'March 2016'
Expand Down
1 change: 0 additions & 1 deletion python/plugins/processing/algs/grass7/ext/i_oif.py
Expand Up @@ -16,7 +16,6 @@
* *
***************************************************************************
"""
from __future__ import absolute_import

__author__ = 'Médéric Ribreux'
__date__ = 'March 2016'
Expand Down
1 change: 0 additions & 1 deletion python/plugins/processing/algs/grass7/ext/i_pansharpen.py
Expand Up @@ -16,7 +16,6 @@
* *
***************************************************************************
"""
from __future__ import absolute_import

__author__ = 'Médéric Ribreux'
__date__ = 'March 2016'
Expand Down
1 change: 0 additions & 1 deletion python/plugins/processing/algs/grass7/ext/i_pca.py
Expand Up @@ -16,7 +16,6 @@
* *
***************************************************************************
"""
from __future__ import absolute_import

__author__ = 'Médéric Ribreux'
__date__ = 'March 2016'
Expand Down
1 change: 0 additions & 1 deletion python/plugins/processing/algs/grass7/ext/i_rectify.py
Expand Up @@ -16,7 +16,6 @@
* *
***************************************************************************
"""
from __future__ import absolute_import

__author__ = 'Médéric Ribreux'
__date__ = 'April 2016'
Expand Down
1 change: 0 additions & 1 deletion python/plugins/processing/algs/grass7/ext/i_segment.py
Expand Up @@ -16,7 +16,6 @@
* *
***************************************************************************
"""
from __future__ import absolute_import

__author__ = 'Médéric Ribreux'
__date__ = 'March 2016'
Expand Down
1 change: 0 additions & 1 deletion python/plugins/processing/algs/grass7/ext/i_smap.py
Expand Up @@ -16,7 +16,6 @@
* *
***************************************************************************
"""
from __future__ import absolute_import

__author__ = 'Médéric Ribreux'
__date__ = 'March 2016'
Expand Down
1 change: 0 additions & 1 deletion python/plugins/processing/algs/grass7/ext/i_tasscap.py
Expand Up @@ -16,7 +16,6 @@
* *
***************************************************************************
"""
from __future__ import absolute_import

__author__ = 'Médéric Ribreux'
__date__ = 'March 2016'
Expand Down
1 change: 0 additions & 1 deletion python/plugins/processing/algs/grass7/ext/i_topo_corr.py
Expand Up @@ -16,7 +16,6 @@
* *
***************************************************************************
"""
from __future__ import absolute_import

__author__ = 'Médéric Ribreux'
__date__ = 'April 2016'
Expand Down
1 change: 0 additions & 1 deletion python/plugins/processing/algs/grass7/ext/r_li_cwed.py
Expand Up @@ -16,7 +16,6 @@
* *
***************************************************************************
"""
from __future__ import absolute_import

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

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

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

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

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

__author__ = 'Médéric Ribreux'
__date__ = 'February 2016'
Expand Down
1 change: 0 additions & 1 deletion python/plugins/processing/algs/grass7/ext/r_li_mpa.py
Expand Up @@ -16,7 +16,6 @@
* *
***************************************************************************
"""
from __future__ import absolute_import

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

__author__ = 'Médéric Ribreux'
__date__ = 'February 2016'
Expand Down
1 change: 0 additions & 1 deletion python/plugins/processing/algs/grass7/ext/r_li_mps.py
Expand Up @@ -16,7 +16,6 @@
* *
***************************************************************************
"""
from __future__ import absolute_import

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

__author__ = 'Médéric Ribreux'
__date__ = 'February 2016'
Expand Down
1 change: 0 additions & 1 deletion python/plugins/processing/algs/grass7/ext/r_li_padcv.py
Expand Up @@ -16,7 +16,6 @@
* *
***************************************************************************
"""
from __future__ import absolute_import

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

__author__ = 'Médéric Ribreux'
__date__ = 'February 2016'
Expand Down
1 change: 0 additions & 1 deletion python/plugins/processing/algs/grass7/ext/r_li_padrange.py
Expand Up @@ -16,7 +16,6 @@
* *
***************************************************************************
"""
from __future__ import absolute_import

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

__author__ = 'Médéric Ribreux'
__date__ = 'February 2016'
Expand Down
1 change: 0 additions & 1 deletion python/plugins/processing/algs/grass7/ext/r_li_padsd.py
Expand Up @@ -16,7 +16,6 @@
* *
***************************************************************************
"""
from __future__ import absolute_import

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

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

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

__author__ = 'Médéric Ribreux'
__date__ = 'February 2016'
Expand Down
1 change: 0 additions & 1 deletion python/plugins/processing/algs/grass7/ext/r_li_patchnum.py
Expand Up @@ -16,7 +16,6 @@
* *
***************************************************************************
"""
from __future__ import absolute_import

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

__author__ = 'Médéric Ribreux'
__date__ = 'February 2016'
Expand Down
1 change: 0 additions & 1 deletion python/plugins/processing/algs/grass7/ext/r_li_pielou.py
Expand Up @@ -16,7 +16,6 @@
* *
***************************************************************************
"""
from __future__ import absolute_import

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

0 comments on commit 78af413

Please sign in to comment.