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

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



Ack.

On 02/05/2010 08:07 AM, David Lehman wrote:
---
  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()


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