[gnome-builder/gnome-builder-3-24] jhbuild: allow error to propagate to caller
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder/gnome-builder-3-24] jhbuild: allow error to propagate to caller
- Date: Fri, 24 Mar 2017 23:02:40 +0000 (UTC)
commit dad8e9124aded61a4d6461061fd5a9d31eb77711
Author: Christian Hergert <chergert redhat com>
Date: Tue Mar 21 09:05:57 2017 -0700
jhbuild: allow error to propagate to caller
plugins/jhbuild/jhbuild_plugin.py | 15 ++++++---------
1 files changed, 6 insertions(+), 9 deletions(-)
---
diff --git a/plugins/jhbuild/jhbuild_plugin.py b/plugins/jhbuild/jhbuild_plugin.py
index f5920a1..9e3bd8f 100644
--- a/plugins/jhbuild/jhbuild_plugin.py
+++ b/plugins/jhbuild/jhbuild_plugin.py
@@ -47,18 +47,15 @@ class JhbuildRuntime(Ide.Runtime):
return runner
def do_create_launcher(self):
- try:
- launcher = Ide.Runtime.do_create_launcher(self)
+ launcher = Ide.Runtime.do_create_launcher(self)
- launcher.push_argv(self.get_jhbuild_path())
- launcher.push_argv('run')
+ launcher.push_argv(self.get_jhbuild_path())
+ launcher.push_argv('run')
- launcher.set_run_on_host(True)
- launcher.set_clear_env(False)
+ launcher.set_run_on_host(True)
+ launcher.set_clear_env(False)
- return launcher
- except GLib.Error:
- return None
+ return launcher
def do_prepare_configuration(self, configuration):
launcher = self.create_launcher()
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]