From c3dd6889375a3dfbf6bfcb0905fd26c00e8250ca Mon Sep 17 00:00:00 2001 From: Srevin Saju Date: Tue, 31 Dec 2019 16:06:40 +0300 Subject: [PATCH] Fix setup.py raise error --- activity/activity.info.en | 6 ------ utils.py | 2 +- 2 files changed, 1 insertion(+), 7 deletions(-) delete mode 100644 activity/activity.info.en diff --git a/activity/activity.info.en b/activity/activity.info.en deleted file mode 100644 index f8a3e7a..0000000 --- a/activity/activity.info.en +++ /dev/null @@ -1,6 +0,0 @@ -[Activity] -name = WikipediaEN -activity_version = 37 -bundle_id = org.laptop.WikipediaActivityEN -icon = activity-wikipedia-en -exec = sugar-activity activity_en.WikipediaActivityEN diff --git a/utils.py b/utils.py index 8b77bc4..3511051 100644 --- a/utils.py +++ b/utils.py @@ -10,7 +10,7 @@ def read_conf_from_info(path): if not os.path.exists(activity_info_path): print("FATAL ERROR: no activity.info file available on path '%s'" % \ activity_info_path) - raise + raise Exception('Unknown error') activity_info = ConfigParser() activity_info.readfp(open(activity_info_path)) wiki_section = 'Wikipedia'