[gnome-ostree/wip/gjs-round2] build: Fix bad print() which was outputting NaN
- From: Colin Walters <walters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-ostree/wip/gjs-round2] build: Fix bad print() which was outputting NaN
- Date: Sat, 15 Dec 2012 14:18:27 +0000 (UTC)
commit 5412adef9685d717d46c70592c98cce21c4def50
Author: Colin Walters <walters verbum org>
Date: Sat Dec 15 09:18:09 2012 -0500
build: Fix bad print() which was outputting NaN
src/ostbuild/js/build.js | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/ostbuild/js/build.js b/src/ostbuild/js/build.js
index 7ae4e5e..293b883 100644
--- a/src/ostbuild/js/build.js
+++ b/src/ostbuild/js/build.js
@@ -149,8 +149,8 @@ const Build = new Lang.Class({
}
if (checkoutTrees.length > 0) {
- print("composing buildroot from %d parents (last: %s)" % (checkoutTrees.length,
- checkoutTrees[checkoutTrees.length-1][0]));
+ print(Format.vprintf("composing buildroot from %d parents (last: %s)", [checkoutTrees.length,
+ checkoutTrees[checkoutTrees.length-1][0]]));
}
let cachedRootTmp = cachedRoot.get_parent().get_child(cachedRoot.get_basename() + '.tmp');
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]