~brian-murray/merge-o-matic/linkify-uploader

« back to all changes in this revision

Viewing changes to mail-bugs.py

  • Committer: Colin Watson
  • Date: 2012-05-22 14:32:34 UTC
  • Revision ID: cjwatson@canonical.com-20120522143234-u20m4o4717lp4h3x
Use Python 3-compatible print functions.

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
# You should have received a copy of the GNU General Public License
18
18
# along with this program.  If not, see <http://www.gnu.org/licenses/>.
19
19
 
20
 
from __future__ import with_statement
 
20
from __future__ import print_function, with_statement
21
21
 
22
22
import os
23
23
import re
216
216
    mark_file = "%s/%s/bugs-watermark" \
217
217
                % (ROOT, pool_directory(distro, package))
218
218
    with open(mark_file, "w") as mark:
219
 
        print >>mark, "%s" % version
 
219
        print("%s" % version, file=mark)
220
220
 
221
221
 
222
222
if __name__ == "__main__":