[gnome-ostree] vcs: Remove spurious this. references in module
- From: Colin Walters <walters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-ostree] vcs: Remove spurious this. references in module
- Date: Mon, 11 Mar 2013 16:41:25 +0000 (UTC)
commit 5cb7030194666cd329ab5c362a04bae5f6e6dc02
Author: Colin Walters <walters verbum org>
Date: Mon Mar 11 12:40:56 2013 -0400
vcs: Remove spurious this. references in module
This breaks actually with gjs-on-js17.
src/js/vcs.js | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/js/vcs.js b/src/js/vcs.js
index bf00e9b..a77f251 100644
--- a/src/js/vcs.js
+++ b/src/js/vcs.js
@@ -191,14 +191,14 @@ function ensureVcsMirror(mirrordir, component, cancellable,
let [keytype, uri] = parseSrcKey(component['src']);
if (keytype == 'git' || keytype == 'local') {
let branch = component['branch'] || component['tag'];
- return this._ensureVcsMirrorGit(mirrordir, uri, branch, cancellable, params);
+ return _ensureVcsMirrorGit(mirrordir, uri, branch, cancellable, params);
} else if (keytype == 'tarball') {
let name = component['name'];
let checksum = component['checksum'];
if (!checksum) {
throw new Error("Component " + name + " missing checksum attribute");
}
- return this._ensureVcsMirrorTarball(mirrordir, name, uri, checksum, cancellable, params);
+ return _ensureVcsMirrorTarball(mirrordir, name, uri, checksum, cancellable, params);
} else {
throw new Error("Unhandled keytype=" + keytype);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]