[meld] meldapp: Older PyGObject needs this kwarg
- From: Kai Willadsen <kaiw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [meld] meldapp: Older PyGObject needs this kwarg
- Date: Sat, 10 Jan 2015 20:07:50 +0000 (UTC)
commit 6c23e5ef255a16fb1beb5866e1d4958ab0fe8e1e
Author: Kai Willadsen <kai willadsen gmail com>
Date: Thu Jan 8 08:20:24 2015 +1000
meldapp: Older PyGObject needs this kwarg
meld/meldapp.py | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/meld/meldapp.py b/meld/meldapp.py
index 6f99a5a..86dc732 100644
--- a/meld/meldapp.py
+++ b/meld/meldapp.py
@@ -303,11 +303,11 @@ class MeldApp(Gtk.Application):
def make_file_from_command_line(arg):
f = command_line.create_file_for_arg(arg)
- if not f.query_exists():
+ if not f.query_exists(cancellable=None):
# May be a relative path with ':', misinterpreted as a URI
cwd = Gio.File.new_for_path(command_line.get_cwd())
relative = Gio.File.resolve_relative_path(cwd, arg)
- if relative.query_exists():
+ if relative.query_exists(cancellable=None):
return relative
# Return the original arg for a better error message
return f
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]