[meld: 59/63] filediff: Remove now-unused success flag
- From: Kai Willadsen <kaiw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [meld: 59/63] filediff: Remove now-unused success flag
- Date: Wed, 16 Dec 2015 21:23:56 +0000 (UTC)
commit a1cadb7b1759147d8c6a79e4f23c4e313dd175b0
Author: Kai Willadsen <kai willadsen gmail com>
Date: Thu Dec 10 06:22:35 2015 +1000
filediff: Remove now-unused success flag
meld/filediff.py | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/meld/filediff.py b/meld/filediff.py
index 3630668..55a21ab 100644
--- a/meld/filediff.py
+++ b/meld/filediff.py
@@ -1076,9 +1076,8 @@ class FileDiff(melddoc.MeldDoc, gnomeglade.Component):
gfile = loader.get_location()
pane = user_data[0]
- success = False
try:
- success = loader.load_finish(result)
+ loader.load_finish(result)
except GLib.Error as err:
# TODO: Find sane error domain constants
if err.domain == 'gtk-source-file-loader-error':
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]