[gnome-keysign: 8/16] scan_barcode: fix no exception to reraise
- From: Tobias Mueller <tobiasmue src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-keysign: 8/16] scan_barcode: fix no exception to reraise
- Date: Tue, 1 Jan 2019 16:02:19 +0000 (UTC)
commit 52cdb7d35c75a2ef38c994705ef4efb34f852497
Author: RyuzakiKK <aasonykk gmail com>
Date: Wed Dec 5 16:20:57 2018 +0100
scan_barcode: fix no exception to reraise
keysign/scan_barcode.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/keysign/scan_barcode.py b/keysign/scan_barcode.py
index a594743..d58a2c9 100755
--- a/keysign/scan_barcode.py
+++ b/keysign/scan_barcode.py
@@ -89,7 +89,7 @@ class BarcodeReaderGTK(Gtk.Box):
self.emit("barcode", barcode, message, pixbuf)
else:
# If we do not see the zbar < 1.6, we raise
- raise
+ raise Exception("Zbar version is not what we expected")
def run(self):
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]