Skip to content

Commit

Permalink
chore(misc)!: rm returncode in subprocess_call()
Browse files Browse the repository at this point in the history
  • Loading branch information
breakthewall committed Dec 20, 2023
1 parent 8b925e3 commit 607cee8
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions brs_utils/misc.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,11 @@ def subprocess_call(
shell=False
) # nosec
logger.debug(CPE)
return CPE.returncode, CPE
return CPE
except OSError as e:
logger.error(e)
return -1, CPE
logger.debug(CPE)
return CPE

def total_size(o, handlers={}, verbose=False):
""" Returns the approximate memory footprint an object and all of its contents.
Expand Down

0 comments on commit 607cee8

Please sign in to comment.