[PATCH 2/4] A Chunk is done growing when its pool is empty.

David Lehman dlehman at redhat.com
Wed Jul 9 18:08:46 UTC 2014


---
 blivet/partitioning.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/blivet/partitioning.py b/blivet/partitioning.py
index d18e141..cfae2ef 100644
--- a/blivet/partitioning.py
+++ b/blivet/partitioning.py
@@ -1404,7 +1404,7 @@ class Chunk(object):
     @property
     def done(self):
         """ True if we are finished growing all requests in this chunk. """
-        return self.remaining == 0
+        return self.remaining == 0 or self.pool == 0
 
     def maxGrowth(self, req):
         return req.max_growth
-- 
1.9.3



More information about the anaconda-patches mailing list