Skip to content

Commit d6469cf

Browse files
committed
fixing bug with Client.version()
1 parent 5285b1a commit d6469cf

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ The client here will eventually be released as "spython" (and eventually to
1717
singularity on pypi), and the versions here will coincide with these releases.
1818

1919
## [master](https://github.com/singularityhub/singularity-cli/tree/master)
20+
- bug with Client.version() (0.0.32)
2021
- fixing bugs with import, export, image commands (0.0.31)
2122
- adding tests for client (0.0.30)
2223
- bug in Dockerfile fromHeader variable fix (0.0.29)

spython/main/base/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ def version(self):
5959
bot.warning("Singularity version not found, so it's likely not installed.")
6060
else:
6161
cmd = ['singularity','--version']
62-
version = self.run_command(cmd).strip('\n')
62+
version = self._run_command(cmd).strip('\n')
6363
bot.debug("Singularity %s being used." % version)
6464
return version
6565

spython/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919

2020

21-
__version__ = "0.0.31"
21+
__version__ = "0.0.32"
2222
AUTHOR = 'Vanessa Sochat'
2323
AUTHOR_EMAIL = '[email protected]'
2424
NAME = 'spython'

0 commit comments

Comments
 (0)