Fix bug when fetching fsm state

This commit is contained in:
Anders Ingemann 2013-11-26 21:07:39 +01:00
parent 86fa48f201
commit 970cbfccf2

View file

@ -9,7 +9,7 @@ class NoPartitions(object):
self.partitions = [self.root]
def is_blocking(self):
return self.root.fsm == 'mounted'
return self.root.fsm.current == 'mounted'
def get_total_size(self):
return self.root.size