From 7cd6f02096ff825cc09f0375dec34dab1fe41280 Mon Sep 17 00:00:00 2001 From: Packit Service Date: Dec 09 2020 09:24:14 +0000 Subject: Apply patch ci-Changing-notation-of-subp-call.patch patch_name: ci-Changing-notation-of-subp-call.patch present_in_specfile: true location_in_specfile: 22 --- diff --git a/cloudinit/sources/helpers/vmware/imc/guestcust_util.py b/cloudinit/sources/helpers/vmware/imc/guestcust_util.py index a270d9f..816f52e 100644 --- a/cloudinit/sources/helpers/vmware/imc/guestcust_util.py +++ b/cloudinit/sources/helpers/vmware/imc/guestcust_util.py @@ -136,8 +136,8 @@ def get_tools_config(section, key, defaultVal): cmd = ['vmware-toolbox-cmd', 'config', 'get', section, key] try: - (outText, _) = subp.subp(cmd) - except subp.ProcessExecutionError as e: + (outText, _) = util.subp(cmd) + except util.ProcessExecutionError as e: if e.exit_code == 69: logger.debug( "vmware-toolbox-cmd returned 69 (unavailable) for cmd: %s."