Skip to content

Commit

Permalink
closes #47 non-zero return code with --version
Browse files Browse the repository at this point in the history
  • Loading branch information
gohierf committed Feb 8, 2022
1 parent 0a3d3a5 commit 8b627d8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def readme():


setup(name='wetest',
version='1.2.1',
version='1.2.2',
description='WeTest allows you to test EPICS modules',
long_description=readme(),
classifiers=[
Expand Down
2 changes: 1 addition & 1 deletion wetest/command_line.py
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ def main():
"Installed WeTest is of version %d.%d.%d", major, minor, bugfix)
if args.version > 1:
display_changlog((major,0,0),(major, minor, bugfix))
sys.exit(1)
sys.exit(0)

with_gui = not args.no_gui

Expand Down

0 comments on commit 8b627d8

Please sign in to comment.