##// END OF EJS Templates
mail: use print function...
Gregory Szorc -
r27619:10bed65e default
parent child Browse files
Show More
@@ -5,7 +5,7 b''
5 5 # This software may be used and distributed according to the terms of the
6 6 # GNU General Public License version 2 or any later version.
7 7
8 from __future__ import absolute_import
8 from __future__ import absolute_import, print_function
9 9
10 10 import email
11 11 import os
@@ -81,7 +81,7 b' class SMTPS(smtplib.SMTP):'
81 81
82 82 def _get_socket(self, host, port, timeout):
83 83 if self.debuglevel > 0:
84 print >> sys.stderr, 'connect:', (host, port)
84 print('connect:', (host, port), file=sys.stderr)
85 85 new_socket = socket.create_connection((host, port), timeout)
86 86 new_socket = sslutil.wrapsocket(new_socket,
87 87 self.keyfile, self.certfile,
@@ -100,7 +100,6 b''
100 100 i18n/polib.py not using absolute_import
101 101 mercurial/cmdutil.py not using absolute_import
102 102 mercurial/commands.py not using absolute_import
103 mercurial/mail.py requires print_function
104 103 setup.py not using absolute_import
105 104 tests/filterpyflakes.py requires print_function
106 105 tests/generate-working-copy-states.py requires print_function
General Comments 0
You need to be logged in to leave comments. Login now