python3: removed from future imports

This commit is contained in:
RhodeCode Admin 2023-03-06 21:51:17 +01:00
parent 87dce4ea79
commit 975f760526
16 changed files with 16 additions and 16 deletions

View file

@ -44,7 +44,7 @@ The redirection must be first implemented in our servers before
you can see it working.
"""
# pragma: no cover
from __future__ import unicode_literals
link_config = [
{

View file

@ -18,7 +18,7 @@
# RhodeCode Enterprise Edition, including its added features, Support services,
# and proprietary license terms, please see https://rhodecode.com/licenses/
from __future__ import unicode_literals
import logging
import colander

View file

@ -18,7 +18,7 @@
# RhodeCode Enterprise Edition, including its added features, Support services,
# and proprietary license terms, please see https://rhodecode.com/licenses/
from __future__ import unicode_literals
import deform
import logging
import requests

View file

@ -18,7 +18,7 @@
# RhodeCode Enterprise Edition, including its added features, Support services,
# and proprietary license terms, please see https://rhodecode.com/licenses/
from __future__ import unicode_literals
import re
import time
import textwrap

View file

@ -18,7 +18,7 @@
# RhodeCode Enterprise Edition, including its added features, Support services,
# and proprietary license terms, please see https://rhodecode.com/licenses/
from __future__ import unicode_literals
import deform.widget
import logging

View file

@ -8,7 +8,7 @@ Utilities you can use when using this library with the |flask|_ framework.
Thanks to `Mark Steve Samson <http://marksteve.com>`_.
"""
from __future__ import absolute_import
from functools import wraps
from authomatic.adapters import WerkzeugAdapter

View file

@ -2,7 +2,7 @@
# We need absolute import to import from openid library which has the same
# name as this module
from __future__ import absolute_import
import logging
import datetime

View file

@ -20,7 +20,7 @@ Providers which implement the |openid|_ protocol based on the
# We need absolute import to import from openid library which has the same
# name as this module
from __future__ import absolute_import
import datetime
import logging
import time

View file

@ -21,7 +21,7 @@
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.
from __future__ import absolute_import
import functools
import itertools

View file

@ -1,4 +1,4 @@
from __future__ import absolute_import, division, unicode_literals
import functools
from time import perf_counter as time_now

View file

@ -1,5 +1,5 @@
from __future__ import division
"""Diff Match and Patch

View file

@ -30,7 +30,7 @@
For definitions of the different versions of RSS, see:
http://web.archive.org/web/20110718035220/http://diveintomark.org/archives/2004/02/04/incompatible-rss
"""
from __future__ import unicode_literals
import datetime
from StringIO import StringIO

View file

@ -22,7 +22,7 @@
Index schema for RhodeCode
"""
from __future__ import absolute_import
import os
import re
import logging

View file

@ -23,7 +23,7 @@ Whoosh fallback schema for RhodeCode in case rhodecode_tools defined one is
not available
"""
from __future__ import absolute_import
from whoosh.analysis import RegexTokenizer, LowercaseFilter
from whoosh.formats import Characters

View file

@ -23,7 +23,7 @@ Utilities aimed to help achieve mostly basic tasks.
"""
from __future__ import division
import re
import os

View file

@ -18,7 +18,7 @@
# RhodeCode Enterprise Edition, including its added features, Support services,
# and proprietary license terms, please see https://rhodecode.com/licenses/
from __future__ import unicode_literals
import time