Skip to content

Commit

Permalink
Merge pull request #1430 from hsmj1412/fixwrongparent
Browse files Browse the repository at this point in the history
snapshot_info: Fix the wrong equation
  • Loading branch information
kylazhang authored Mar 16, 2018
2 parents 0374838 + d6ab7bc commit 9d0e9ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion virttest/virsh.py
Original file line number Diff line number Diff line change
Expand Up @@ -2922,7 +2922,7 @@ def snapshot_info(name, snapshot, **dargs):
continue
ret[val] = data.group(0).strip()

if ret["Parent"] == "-":
if ret["Parent"] == "":
ret["Parent"] = None

return ret
Expand Down

0 comments on commit 9d0e9ae

Please sign in to comment.