Commit a8526f4e authored by Alain Takoudjou's avatar Alain Takoudjou

promise: use '==' instead of 'is' to compare two strings

This solve indefinite loop in while condition on promise check_free_disk_space
parent fd7c1d7e
......@@ -109,7 +109,7 @@ class RunPromise(GenericPromise):
else:
break
for p in partitions:
if p.mountpoint is path:
if p.mountpoint == path:
disk_partition = p.device
break
if not disk_partition:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment