##// END OF EJS Templates
python3: removed from future imports
super-admin -
r4912:fba394fb default
parent child Browse files
Show More
@@ -44,7 +44,7 b' The redirection must be first implemente'
44 you can see it working.
44 you can see it working.
45 """
45 """
46 # pragma: no cover
46 # pragma: no cover
47 from __future__ import unicode_literals
47
48
48
49 link_config = [
49 link_config = [
50 {
50 {
@@ -18,7 +18,7 b''
18 # RhodeCode Enterprise Edition, including its added features, Support services,
18 # RhodeCode Enterprise Edition, including its added features, Support services,
19 # and proprietary license terms, please see https://rhodecode.com/licenses/
19 # and proprietary license terms, please see https://rhodecode.com/licenses/
20
20
21 from __future__ import unicode_literals
21
22 import logging
22 import logging
23
23
24 import colander
24 import colander
@@ -18,7 +18,7 b''
18 # RhodeCode Enterprise Edition, including its added features, Support services,
18 # RhodeCode Enterprise Edition, including its added features, Support services,
19 # and proprietary license terms, please see https://rhodecode.com/licenses/
19 # and proprietary license terms, please see https://rhodecode.com/licenses/
20
20
21 from __future__ import unicode_literals
21
22 import deform
22 import deform
23 import logging
23 import logging
24 import requests
24 import requests
@@ -18,7 +18,7 b''
18 # RhodeCode Enterprise Edition, including its added features, Support services,
18 # RhodeCode Enterprise Edition, including its added features, Support services,
19 # and proprietary license terms, please see https://rhodecode.com/licenses/
19 # and proprietary license terms, please see https://rhodecode.com/licenses/
20
20
21 from __future__ import unicode_literals
21
22 import re
22 import re
23 import time
23 import time
24 import textwrap
24 import textwrap
@@ -18,7 +18,7 b''
18 # RhodeCode Enterprise Edition, including its added features, Support services,
18 # RhodeCode Enterprise Edition, including its added features, Support services,
19 # and proprietary license terms, please see https://rhodecode.com/licenses/
19 # and proprietary license terms, please see https://rhodecode.com/licenses/
20
20
21 from __future__ import unicode_literals
21
22
22
23 import deform.widget
23 import deform.widget
24 import logging
24 import logging
@@ -8,7 +8,7 b' Utilities you can use when using this li'
8 Thanks to `Mark Steve Samson <http://marksteve.com>`_.
8 Thanks to `Mark Steve Samson <http://marksteve.com>`_.
9 """
9 """
10
10
11 from __future__ import absolute_import
11
12 from functools import wraps
12 from functools import wraps
13
13
14 from authomatic.adapters import WerkzeugAdapter
14 from authomatic.adapters import WerkzeugAdapter
@@ -2,7 +2,7 b''
2
2
3 # We need absolute import to import from openid library which has the same
3 # We need absolute import to import from openid library which has the same
4 # name as this module
4 # name as this module
5 from __future__ import absolute_import
5
6 import logging
6 import logging
7 import datetime
7 import datetime
8
8
@@ -20,7 +20,7 b' Providers which implement the |openid|_ '
20
20
21 # We need absolute import to import from openid library which has the same
21 # We need absolute import to import from openid library which has the same
22 # name as this module
22 # name as this module
23 from __future__ import absolute_import
23
24 import datetime
24 import datetime
25 import logging
25 import logging
26 import time
26 import time
@@ -21,7 +21,7 b''
21 # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21 # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22 # SOFTWARE.
22 # SOFTWARE.
23
23
24 from __future__ import absolute_import
24
25
25
26 import functools
26 import functools
27 import itertools
27 import itertools
@@ -1,4 +1,4 b''
1 from __future__ import absolute_import, division, unicode_literals
1
2
2
3 import functools
3 import functools
4 from time import perf_counter as time_now
4 from time import perf_counter as time_now
@@ -1,5 +1,5 b''
1
1
2 from __future__ import division
2
3
3
4 """Diff Match and Patch
4 """Diff Match and Patch
5
5
@@ -30,7 +30,7 b''
30 For definitions of the different versions of RSS, see:
30 For definitions of the different versions of RSS, see:
31 http://web.archive.org/web/20110718035220/http://diveintomark.org/archives/2004/02/04/incompatible-rss
31 http://web.archive.org/web/20110718035220/http://diveintomark.org/archives/2004/02/04/incompatible-rss
32 """
32 """
33 from __future__ import unicode_literals
33
34
34
35 import datetime
35 import datetime
36 from StringIO import StringIO
36 from StringIO import StringIO
@@ -22,7 +22,7 b''
22 Index schema for RhodeCode
22 Index schema for RhodeCode
23 """
23 """
24
24
25 from __future__ import absolute_import
25
26 import os
26 import os
27 import re
27 import re
28 import logging
28 import logging
@@ -23,7 +23,7 b' Whoosh fallback schema for RhodeCode in '
23 not available
23 not available
24 """
24 """
25
25
26 from __future__ import absolute_import
26
27
27
28 from whoosh.analysis import RegexTokenizer, LowercaseFilter
28 from whoosh.analysis import RegexTokenizer, LowercaseFilter
29 from whoosh.formats import Characters
29 from whoosh.formats import Characters
@@ -23,7 +23,7 b' Utilities aimed to help achieve mostly b'
23 """
23 """
24
24
25
25
26 from __future__ import division
26
27
27
28 import re
28 import re
29 import os
29 import os
@@ -18,7 +18,7 b''
18 # RhodeCode Enterprise Edition, including its added features, Support services,
18 # RhodeCode Enterprise Edition, including its added features, Support services,
19 # and proprietary license terms, please see https://rhodecode.com/licenses/
19 # and proprietary license terms, please see https://rhodecode.com/licenses/
20
20
21 from __future__ import unicode_literals
21
22
22
23 import time
23 import time
24
24
General Comments 0
You need to be logged in to leave comments. Login now