Skip to content

Commit

Permalink
Merge pull request #240 from pelson/no_message
Browse files Browse the repository at this point in the history
Close #202. Don't use Exception.message.
  • Loading branch information
pelson authored Jul 22, 2016
2 parents 2458524 + 719b44f commit 5ce52a0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions conda_smithy/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ def __call__(self, args):
print("\nRepository created, please edit conda-forge.yml to configure the upload channels\n"
"and afterwards call 'conda smithy register-github'")
except RuntimeError as e:
print(e.message)
print(e)


class RegisterGithub(Subcommand):
Expand All @@ -132,7 +132,7 @@ def __call__(self, args):
github.create_github_repo(args)
print("\nRepository registered at github, now call 'conda smithy register-ci'")
except RuntimeError as e:
print(e.message)
print(e)


class RegisterCI(Subcommand):
Expand Down Expand Up @@ -168,7 +168,7 @@ def __call__(self, args):
print("\nCI services have been enabled enabled. You may wish to regnerate the feedstock.\n"
"Any changes will need commiting to the repo.")
except RuntimeError as e:
print(e.message)
print(e)

class Regenerate(Subcommand):
subcommand = 'regenerate'
Expand All @@ -185,7 +185,7 @@ def __call__(self, args):
configure_feedstock.main(args.feedstock_directory)
print("\nCI support files regenerated. These need to be pushed to github!")
except RuntimeError as e:
print(e.message)
print(e)


class RecipeLint(Subcommand):
Expand Down

0 comments on commit 5ce52a0

Please sign in to comment.