# HG changeset patch # User Goffi # Date 1458585856 -3600 # Node ID 01d56efd488bc037e9e4f1bfd89f2a8637649a50 # Parent 05a5a125a238e3a87b4404474826fd1256dd3968 jp: fixed traceback shown on a normal quit when a progression is finished diff -r 05a5a125a238 -r 01d56efd488b frontends/src/jp/base.py --- a/frontends/src/jp/base.py Mon Mar 21 19:44:16 2016 +0100 +++ b/frontends/src/jp/base.py Mon Mar 21 19:44:16 2016 +0100 @@ -272,7 +272,7 @@ /!\: return must be used after calling this method ! """ assert self._need_loop - # XXX: python-dbus will show a traceback if we exit in a signal handler with an error code + # XXX: python-dbus will show a traceback if we exit in a signal handler # so we use this little timeout trick to avoid it GLib.timeout_add(0, self.quit, errcode) @@ -496,7 +496,7 @@ pass self.onProgressFinished(metadata) if self.host.quit_on_progress_end: - self.host.quit() + self.host.quitFromSignal() def progressErrorHandler(self, uid, message, profile): if profile != self.profile: