Skip to content

Commit 8b0238d

Browse files
committed
modified: singularity/cli/main/__init__.py
modified: singularity/version.py
1 parent fc268d1 commit 8b0238d

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

singularity/cli/main/__init__.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,7 @@ def main():
174174

175175
parser = get_parser()
176176
subparsers = get_subparsers(parser)
177+
print("Singularity Python Version: %s" % singularity.__version__)
177178

178179
try:
179180
args = parser.parse_args()
@@ -183,15 +184,10 @@ def main():
183184
# Not running in Singularity Hub environment
184185
os.environ['SINGULARITY_HUB'] = "False"
185186

186-
187187
# if environment logging variable not set, make silent
188188
if args.debug is False:
189189
os.environ['MESSAGELEVEL'] = "CRITICAL"
190190

191-
if args.version is True:
192-
print(singularity.__version__)
193-
sys.exit(0)
194-
195191
if args.command == "create":
196192
from .create import main
197193

singularity/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
SOFTWARE.
2323
'''
2424

25-
__version__ = "1.2.0"
25+
__version__ = "1.2.1"
2626
AUTHOR = 'Vanessa Sochat'
2727
AUTHOR_EMAIL = '[email protected]'
2828
NAME = 'singularity'

0 commit comments

Comments
 (0)