mirror of
https://github.com/virt-manager/virt-manager.git
synced 2025-02-25 18:55:27 -06:00
xmlapi: Fix some pylint
This commit is contained in:
parent
dfa0fa34b4
commit
a8fb49dbe0
@ -53,7 +53,7 @@ class _XPathSegment(object):
|
|||||||
self.condition_prop = cprop.strip("@")
|
self.condition_prop = cprop.strip("@")
|
||||||
self.condition_val = cval.strip("'")
|
self.condition_val = cval.strip("'")
|
||||||
elif cond.isdigit():
|
elif cond.isdigit():
|
||||||
self.condtion_num = int(cond)
|
self.condition_num = int(cond)
|
||||||
|
|
||||||
self.is_prop = self.nodename.startswith("@")
|
self.is_prop = self.nodename.startswith("@")
|
||||||
if self.is_prop:
|
if self.is_prop:
|
||||||
|
Loading…
Reference in New Issue
Block a user