a few more python3-compatible print (#1840)

This commit is contained in:
Frédéric Chapoton 2016-05-31 21:20:22 +02:00 committed by Markus Unterwaditzer
parent 83ae787f97
commit e4c712ffd2
2 changed files with 5 additions and 3 deletions

View file

@ -10,6 +10,7 @@
:copyright: (c) 2015 by Armin Ronacher.
:license: BSD, see LICENSE for more details.
"""
from __future__ import print_function
import sys
import os
import re
@ -85,12 +86,12 @@ def build_and_upload():
def fail(message, *args):
print >> sys.stderr, 'Error:', message % args
print('Error:', message % args, file=sys.stderr)
sys.exit(1)
def info(message, *args):
print >> sys.stderr, message % args
print(message % args, file=sys.stderr)
def get_git_tags():