plugins/lookup/version_lookups.py in qb-0.4.3 vs plugins/lookup/version_lookups.py in qb-0.4.4
- old
+ new
@@ -12,11 +12,11 @@
from __main__ import display
except ImportError:
from ansible.utils.display import Display
display = Display()
-import qb.interop
+from qb.ipc.rpc import client as rpc_client
class LookupModule(LookupBase):
def run(self, terms, variables=None, **kwargs):
@@ -41,10 +41,10 @@
path = path_with_version
with open(path, 'r') as file:
raw = file.read().strip()
- version = qb.interop.send_const(
+ version = rpc_client.send(
'QB::Package::Version',
'from_string',
raw,
)