Skip to content

Commit

Permalink
Merge pull request #343 from jakirkham/adj_stdout_newlines
Browse files Browse the repository at this point in the history
Adjust re-rendering message
  • Loading branch information
jakirkham authored Oct 29, 2016
2 parents 109ffa1 + 94d248c commit f74e16e
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions conda_smithy/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ def __init__(self, parser):
def __call__(self, args):
try:
configure_feedstock.main(args.feedstock_directory)
print("\nRe-rendered with conda-smithy %s." % __version__)
print("\nRe-rendered with conda-smithy %s.\n" % __version__)

is_git_repo = os.path.exists(os.path.join(args.feedstock_directory, ".git"))
if is_git_repo:
Expand Down Expand Up @@ -226,14 +226,15 @@ def __call__(self, args):
git_args,
cwd=args.feedstock_directory
)
print("")
else:
print(
"\nYou can commit the changes with:\n\n"
"You can commit the changes with:\n\n"
" git commit -m 'MNT: Re-rendered with conda-smithy %s'\n" % __version__
)
print("\nThese changes need to be pushed to github!\n")
print("These changes need to be pushed to github!\n")
else:
print("\nNo changes made. This feedstock is up-to-date.\n")
print("No changes made. This feedstock is up-to-date.\n")
except RuntimeError as e:
print(e)
except subprocess.CalledProcessError as e:
Expand Down

0 comments on commit f74e16e

Please sign in to comment.