summaryrefslogtreecommitdiffstats
path: root/nova/utils.py
diff options
context:
space:
mode:
Diffstat (limited to 'nova/utils.py')
-rw-r--r--nova/utils.py7
1 files changed, 0 insertions, 7 deletions
diff --git a/nova/utils.py b/nova/utils.py
index ddbe0479e..22bf5d8cf 100644
--- a/nova/utils.py
+++ b/nova/utils.py
@@ -129,13 +129,6 @@ def debug(arg):
def runthis(prompt, cmd, check_exit_code=True):
logging.debug("Running %s" % (cmd))
rv, err = execute(cmd, check_exit_code=check_exit_code)
- #exit_code = subprocess.call(cmd.split(" "))
- #logging.debug(prompt % (exit_code))
- #if check_exit_code and exit_code != 0:
- # raise ProcessExecutionError(exit_code=exit_code,
- # stdout=None,
- # stderr=None,
- # cmd=cmd)
def generate_uid(topic, size=8):