summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2020-09-05 19:34:17 +0300
committerLars Wirzenius <liw@liw.fi>2020-09-05 19:34:17 +0300
commita76a135e92470b1ad5468900b5b2e6826d212280 (patch)
tree11482a99928ac8696aeb7189f23a888f96fab4a4
parent5f1e67a367f3a440b9e6bb7e347895601cd61153 (diff)
downloadvmdb2-a76a135e92470b1ad5468900b5b2e6826d212280.tar.gz
fix(runcmd.py): name of exception class
-rw-r--r--vmdb/runcmd.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/vmdb/runcmd.py b/vmdb/runcmd.py
index 13e2c4e..ff6952f 100644
--- a/vmdb/runcmd.py
+++ b/vmdb/runcmd.py
@@ -55,7 +55,7 @@ def runcmd(argv, **kwargs):
logging.debug("STDOUT: %s", out.decode("UTF8"))
logging.debug("STDERR: %s", err.decode("UTF8"))
if p.returncode != 0:
- raise subprocess.CalledProgramError("Command failed: {}".format(p.returncode))
+ raise subprocess.CalledProcessError("Command failed: {}".format(p.returncode))
return out