Skip to content

Commit

Permalink
Merge pull request #110 from grycap/devel
Browse files Browse the repository at this point in the history
Fix warning
  • Loading branch information
micafer authored Dec 5, 2024
2 parents 2782e58 + cb60a6c commit 2ea20c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion imclient/imclient.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 2ea20c7

Please sign in to comment.