##// END OF EJS Templates
py3: automatic migration with 2to3 -f future
Mads Kiilerich -
r8094:4b68fbe1 default
parent child Browse files
Show More
@@ -25,8 +25,6 b' Original author and date, and relevant c'
25 :license: GPLv3, see LICENSE.md for more details.
25 :license: GPLv3, see LICENSE.md for more details.
26 """
26 """
27
27
28 from __future__ import print_function
29
30 import argparse
28 import argparse
31 import json
29 import json
32 import sys
30 import sys
@@ -20,8 +20,6 b' Original author and date, and relevant c'
20 :license: GPLv3, see LICENSE.md for more details.
20 :license: GPLv3, see LICENSE.md for more details.
21 """
21 """
22
22
23 from __future__ import print_function
24
25 import sys
23 import sys
26
24
27 import kallithea.bin.kallithea_cli_base as cli_base
25 import kallithea.bin.kallithea_cli_base as cli_base
@@ -25,8 +25,6 b' Original author and date, and relevant c'
25 :license: GPLv3, see LICENSE.md for more details.
25 :license: GPLv3, see LICENSE.md for more details.
26 """
26 """
27
27
28 from __future__ import print_function
29
30 import argparse
28 import argparse
31 import fileinput
29 import fileinput
32 import json
30 import json
@@ -25,8 +25,6 b' Original author and date, and relevant c'
25 :license: GPLv3, see LICENSE.md for more details.
25 :license: GPLv3, see LICENSE.md for more details.
26 """
26 """
27
27
28 from __future__ import print_function
29
30 import urllib.request
28 import urllib.request
31 import uuid
29 import uuid
32 from configparser import ConfigParser
30 from configparser import ConfigParser
@@ -26,8 +26,6 b' Original author and date, and relevant c'
26 :license: GPLv3, see LICENSE.md for more details.
26 :license: GPLv3, see LICENSE.md for more details.
27 """
27 """
28
28
29 from __future__ import print_function
30
31 import logging
29 import logging
32 import os
30 import os
33 import sys
31 import sys
@@ -12,8 +12,6 b''
12 # You should have received a copy of the GNU General Public License
12 # You should have received a copy of the GNU General Public License
13 # along with this program. If not, see <http://www.gnu.org/licenses/>.
13 # along with this program. If not, see <http://www.gnu.org/licenses/>.
14
14
15 from __future__ import print_function
16
17 import errno
15 import errno
18 import os
16 import os
19 from multiprocessing.util import Finalize
17 from multiprocessing.util import Finalize
@@ -27,8 +27,6 b' Original author and date, and relevant c'
27 :license: GPLv3, see LICENSE.md for more details.
27 :license: GPLv3, see LICENSE.md for more details.
28 """
28 """
29
29
30 from __future__ import print_function
31
32 import binascii
30 import binascii
33 import datetime
31 import datetime
34 import json
32 import json
@@ -1,7 +1,6 b''
1 """
1 """
2 Utilities aimed to help achieve mostly basic tasks.
2 Utilities aimed to help achieve mostly basic tasks.
3 """
3 """
4 from __future__ import division
5
4
6 import datetime
5 import datetime
7 import os
6 import os
@@ -1,7 +1,5 b''
1 # encoding: UTF-8
1 # encoding: UTF-8
2
2
3 from __future__ import print_function
4
5 import datetime
3 import datetime
6 import string
4 import string
7 import sys
5 import sys
@@ -25,8 +25,6 b' Original author and date, and relevant c'
25
25
26 """
26 """
27
27
28 from __future__ import print_function
29
30 import json
28 import json
31 import os
29 import os
32 import re
30 import re
@@ -26,8 +26,6 b' Original author and date, and relevant c'
26
26
27 """
27 """
28
28
29 from __future__ import print_function
30
31 import logging
29 import logging
32 import os
30 import os
33 import shutil
31 import shutil
@@ -30,8 +30,6 b' Original author and date, and relevant c'
30 :license: GPLv3, see LICENSE.md for more details.
30 :license: GPLv3, see LICENSE.md for more details.
31 """
31 """
32
32
33 from __future__ import print_function
34
35 import http.cookiejar
33 import http.cookiejar
36 import os
34 import os
37 import sys
35 import sys
@@ -4,8 +4,6 b''
4 Consistent formatting of rst section titles
4 Consistent formatting of rst section titles
5 """
5 """
6
6
7 from __future__ import print_function
8
9 import re
7 import re
10 import subprocess
8 import subprocess
11
9
@@ -3,8 +3,6 b''
3 Based on kallithea/lib/paster_commands/template.ini.mako, generate development.ini
3 Based on kallithea/lib/paster_commands/template.ini.mako, generate development.ini
4 """
4 """
5
5
6 from __future__ import print_function
7
8 import re
6 import re
9
7
10 from kallithea.lib import inifile
8 from kallithea.lib import inifile
@@ -1,7 +1,5 b''
1 #!/usr/bin/env python3
1 #!/usr/bin/env python3
2
2
3 from __future__ import print_function
4
5 import re
3 import re
6 import sys
4 import sys
7
5
General Comments 0
You need to be logged in to leave comments. Login now