[gnome-ostree] checkout: Add missing cancellable arg
- From: Colin Walters <walters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-ostree] checkout: Add missing cancellable arg
- Date: Tue, 18 Dec 2012 21:04:48 +0000 (UTC)
commit 3f339c9c0cec9bf346061487b9819974e43bc952
Author: Colin Walters <walters verbum org>
Date: Tue Dec 18 16:03:07 2012 -0500
checkout: Add missing cancellable arg
src/ostbuild/js/checkout.js | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/ostbuild/js/checkout.js b/src/ostbuild/js/checkout.js
index 69fafc7..276dc55 100644
--- a/src/ostbuild/js/checkout.js
+++ b/src/ostbuild/js/checkout.js
@@ -65,7 +65,7 @@ const Checkout = new Lang.Class({
if (isLocal) {
if (args.checkoutdir != null) {
checkoutdir = Gio.File.new_for_path(args.checkoutdir);
- let ftype = checkoutdir.query_file_type(Gio.FileQueryInfoFlags.NOFOLLOW_SYMLINKS);
+ let ftype = checkoutdir.query_file_type(Gio.FileQueryInfoFlags.NOFOLLOW_SYMLINKS, cancellable);
// Kind of a hack, but...
if (ftype == Gio.FileType.SYMBOLIC_LINK)
GSystem.file_unlink(checkoutdir, cancellable);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]