Deleted unnecessary 'returns' and 'passes'
[findit] / src / mvc / controllers / filesearch.py
index 6e6ff69..250d532 100755 (executable)
@@ -19,7 +19,6 @@ class FilesearchCtrl(Controller):
 
     def __init__(self, model):
         Controller.__init__(self, model)
-        return
 
     def register_view(self, view):
         Controller.register_view(self, view)
@@ -33,8 +32,6 @@ class FilesearchCtrl(Controller):
         self.view.set_quantity_value(self.model.quantity)
         self.view.set_start_path_value(self.model.start_path)
 
-        return
-
     # -----------------------------------------------------
     #                  user callbacks
     # -----------------------------------------------------
@@ -84,7 +81,6 @@ class FilesearchCtrl(Controller):
     def on_qty_spin_value_changed(self, sb):
         # Получаем значение количества файлов из SpinButton
         self.model.quantity = sb.get_value_as_int()
-        return
 
     def start_btn_released_cb(self, btn):
         """Start file search. Button "Go" activate callback."""         
@@ -124,16 +120,12 @@ class FilesearchCtrl(Controller):
     # -----------------------------------------------------
 
     def property_quantity_value_change(self, model, old, new):
+        pass
         #self.view.set_quantity_value(new)
-        return
 
     def property_start_path_value_change(self, model, old, new):
         print model, old, new
         self.view.set_start_path_value(new)
-        return
 
     def property_stopit_value_change(self, model, old, new):
         self.view.set_stopit_value(new)
-        return
-
-    pass # end of class