[POS-commit] r6399 - stoqlib/trunk/stoqlib/gui/editors
fabio morbec
fabio at async.com.br
Fri Apr 20 11:58:40 BRT 2007
Author: fabio
Date: Fri Apr 20 11:58:40 2007
New Revision: 6399
Modified:
stoqlib/trunk/stoqlib/gui/editors/sellableeditor.py
Log:
Removing white space
Modified: stoqlib/trunk/stoqlib/gui/editors/sellableeditor.py
==============================================================================
--- stoqlib/trunk/stoqlib/gui/editors/sellableeditor.py (original)
+++ stoqlib/trunk/stoqlib/gui/editors/sellableeditor.py Fri Apr 20 11:58:40 2007
@@ -325,7 +325,7 @@
self._sellable.barcode = barcode
self.ensure_sellable_unit()
return True
-
+
def on_price__validate(self, entry, value):
if value <= 0:
return ValidationError(_("Price cannot be zero or negative"))
@@ -333,7 +333,7 @@
def on_cost__validate(self, entry, value):
if value <= 0:
return ValidationError(_("Cost cannot be zero or negative"))
-
+
class SellableItemEditor(BaseEditor):
gladefile = 'SellableItemEditor'
proxy_widgets = ('quantity',
More information about the POS-commit
mailing list