[POS-commit] r6298 - stoqlib/trunk/stoqlib/gui
Johan Dahlin
jdahlin at async.com.br
Tue Apr 3 16:15:58 BRT 2007
Author: jdahlin
Date: Tue Apr 3 16:15:58 2007
New Revision: 6298
Modified:
stoqlib/trunk/stoqlib/gui/fiscalprinter.py
Log:
Revert last changes
Modified: stoqlib/trunk/stoqlib/gui/fiscalprinter.py
==============================================================================
--- stoqlib/trunk/stoqlib/gui/fiscalprinter.py (original)
+++ stoqlib/trunk/stoqlib/gui/fiscalprinter.py Tue Apr 3 16:15:58 2007
@@ -79,9 +79,8 @@
try:
CouponPrinter.open_till(self, value)
except CouponOpenError:
- # A document is open, cancel it and try again
self.cancel()
- continue
+ retval = False
except DriverError:
response = warning(
_(u"It's not possible to emit a read X for the "
@@ -146,9 +145,8 @@
try:
CouponPrinter.close_till(self, value)
except CouponOpenError:
- # A document is open, cancel it and try again
self.cancel()
- continue
+ retval = False
except DriverError:
response = warning(
short=_(u"It's not possible to emit a reduce Z for the "
More information about the POS-commit
mailing list