From cb60a6ca1c9c3491eb6ed1332a13f48c35044653 Mon Sep 17 00:00:00 2001 From: Miguel Caballer Date: Thu, 5 Dec 2024 16:36:28 +0100 Subject: [PATCH] Fix warning --- imclient/imclient.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/imclient/imclient.py b/imclient/imclient.py index b4bccb8..e570517 100755 --- a/imclient/imclient.py +++ b/imclient/imclient.py @@ -415,7 +415,7 @@ def _get_inf_id(self): inf_id = int(self.args[0]) if self.options.name: - success, infras = self._list_infras(flt=".*description\s*.*\s*(\s*name\s*=\s*'%s'.*).*" % inf_id) + success, infras = self._list_infras(flt=".*description\\s*.*\\s*(\\s*name\\s*=\\s*'%s'.*).*" % inf_id) if not success: raise Exception("Error getting infrastructure list.") if len(infras) == 0: