Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
urmi-21 committed Jan 9, 2021
1 parent 8994895 commit 5545646
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pyrpipe/pyrpipe_engine.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ def get_shell_output(cmd,verbose=None):
:return: (returncode, stdout and stderr)
:rtype: tuple: (int,str,str)
"""
if not verbose: verbose=_verbose
if verbose==None: verbose=_verbose
#not logging these commands
cmd=parse_cmd(cmd)
log_message=cmd
Expand Down Expand Up @@ -195,8 +195,8 @@ def execute_command(cmd,verbose=None,logs=None,objectid=None,command_name=""):
"""

#if none then use default
if not verbose: verbose=_verbose
if not logs: logs=_logging
if verbose==None: verbose=_verbose
if logs==None: logs=_logging


#get current time
Expand Down

0 comments on commit 5545646

Please sign in to comment.