Skip to content

Commit

Permalink
Merge pull request #34 from momijiame/master
Browse files Browse the repository at this point in the history
Fix #33
  • Loading branch information
Alexis-benoist committed Dec 29, 2017
2 parents b84824b + f6c869d commit 7906bff
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
3 changes: 2 additions & 1 deletion eralchemy/helpers.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
from __future__ import print_function
import sys


# from https://github.com/mitsuhiko/flask/blob/master/scripts/make-release.py L92
def fail(message, *args):
print >> sys.stderr, 'Error:', message % args
print('Error:', message % args, file=sys.stderr)
sys.exit(1)


Expand Down
5 changes: 3 additions & 2 deletions script/make_release.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
from __future__ import print_function
import os
import sys
from subprocess import Popen, PIPE
Expand Down Expand Up @@ -40,12 +41,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('Error:', message % args, file=sys.stderr)


def git_is_clean():
Expand Down

0 comments on commit 7906bff

Please sign in to comment.