[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[PATCH 1/7] Use 0 for a default max_req_size instead of None.



---
 iw/partition_dialog_gui.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/iw/partition_dialog_gui.py b/iw/partition_dialog_gui.py
index 7f76c86..ba464fb 100644
--- a/iw/partition_dialog_gui.py
+++ b/iw/partition_dialog_gui.py
@@ -150,7 +150,7 @@ class PartitionEditor:
                     self.fillmaxszsb.update()
                     maxsize = self.fillmaxszsb.get_value_as_int()
                 else:
-                    maxsize = None
+                    maxsize = 0
 
                 allowdrives = []
                 model = self.driveview.get_model()
-- 
1.6.2.5


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]