Skip to content
This repository has been archived by the owner on Jul 30, 2024. It is now read-only.

Use print function style on release.py #833

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions scripts/release.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@
:copyright: (c) 2011 by Armin Ronacher.
:license: BSD, see LICENSE for more details.
"""
from __future__ import print_function

import os
import re
import sys
Expand Down Expand Up @@ -111,12 +113,12 @@ def build_and_upload():


def fail(message, *args):
print >> sys.stderr, 'Error:', message % args
print('Error: %s' % 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():
Expand Down