- #Determine the contents of the selected category row
- selected, iter = self._categoryView.get_selection().get_selected()
- self._selectedCategoryName = self._categoryModel.get_value(iter, 0)
-
- selections = {
- 'selected_category': self._selectedCategoryName,
- 'selected_units': self._defaultUnitForCategory
- }
- selectionsDatPath = "/".join((constants._data_path_, "selections.dat"))
- pickle.dump(selections, open(selectionsDatPath, 'w'))
+ if False:
+ #Determine the contents of the selected category row
+ selected, iter = self._categoryView.get_selection().get_selected()
+ self._selectedCategoryName = self._categoryModel.get_value(iter, 0)
+
+ selections = {
+ 'selected_category': self._selectedCategoryName,
+ 'selected_units': self._defaultUnitForCategory
+ }
+ selectionsDatPath = "/".join((constants._data_path_, "selections.dat"))
+ pickle.dump(selections, open(selectionsDatPath, 'w'))