Commit a1cadb7b authored by Kai Willadsen's avatar Kai Willadsen

filediff: Remove now-unused success flag

parent 7e2230f1
......@@ -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':
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment