Skip to content

Commit 58a674e

Browse files
committed
modified: singularity/cli.py
modified: singularity/version.py
1 parent dbdae89 commit 58a674e

File tree

2 files changed

+3
-9
lines changed

2 files changed

+3
-9
lines changed

singularity/cli.py

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -27,19 +27,18 @@
2727

2828
class Singularity:
2929

30-
def __init__(self,sudo=True,verbose=False,sudopw=None,debug=False):
30+
def __init__(self,sudo=True,sudopw=None,debug=False):
3131
'''upon init, store user password to not ask for it again'''
3232

3333
self.sudopw = sudopw
34+
self.debug = debug
3435

3536
# Try getting from environment
3637
if self.sudopw == None:
3738
self.sudopw = os.environ.get('pancakes',None)
3839

3940
if sudo == True and self.sudopw == None:
4041
self.sudopw = getsudo()
41-
self.verbose = verbose
42-
4342

4443

4544
def run_command(self,cmd,sudo=False,suppress=False):
@@ -113,7 +112,6 @@ def execute(self,image_path,command,writable=False,contain=False):
113112
:param writable: This option makes the file system accessible as read/write
114113
:param contain: This option disables the automatic sharing of writable
115114
filesystems on your host
116-
:param verbose: add --verbose option (default is false)
117115
'''
118116
sudo = False
119117
if self.debug == True:
@@ -242,10 +240,6 @@ def add_flags(self,cmd,writable,contain):
242240
:param contain: adds --contain
243241
'''
244242

245-
# Does the user want verbose output?
246-
if self.verbose == True:
247-
cmd.append('--verbose')
248-
249243
# Does the user want to make the container writeable?
250244
if writable == True:
251245
cmd.append('--writable')

singularity/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
__version__ = "0.98"
1+
__version__ = "0.99"
22
AUTHOR = 'Vanessa Sochat'
33
AUTHOR_EMAIL = '[email protected]'
44
NAME = 'singularity'

0 commit comments

Comments
 (0)