[alacarte] alacarte.in: Remove another bare except
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [alacarte] alacarte.in: Remove another bare except
- Date: Wed, 23 May 2012 19:01:58 +0000 (UTC)
commit 3fd341746ec40c73bf9c74c7f7e51d0e91092f48
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Wed May 2 12:57:38 2012 -0400
alacarte.in: Remove another bare except
alacarte.in | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/alacarte.in b/alacarte.in
index 922f8c5..dcd503f 100644
--- a/alacarte.in
+++ b/alacarte.in
@@ -26,7 +26,7 @@ def main():
from Alacarte import config
datadir = config.pkgdatadir
version = config.VERSION
- except:
+ except ImportError:
datadir = '.'
version = '0.9'
app = MainWindow(datadir, version)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]