[gnome-ostree/wip/new-model: 28/34] autobuilder: Remove some dead code
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-ostree/wip/new-model: 28/34] autobuilder: Remove some dead code
- Date: Thu, 11 Jul 2013 17:16:56 +0000 (UTC)
commit b8029c885535d23122625e646e6ba89c5c17a8ef
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Wed Jun 19 16:42:48 2013 -0400
autobuilder: Remove some dead code
src/js/builtins/autobuilder.js | 7 +------
1 files changed, 1 insertions(+), 6 deletions(-)
---
diff --git a/src/js/builtins/autobuilder.js b/src/js/builtins/autobuilder.js
index 105fb6d..b83d646 100644
--- a/src/js/builtins/autobuilder.js
+++ b/src/js/builtins/autobuilder.js
@@ -25,8 +25,6 @@ const JsonDB = imports.jsondb;
const ProcUtil = imports.procutil;
const Snapshot = imports.snapshot;
-const loop = GLib.MainLoop.new(null, true);
-
var AutoBuilderIface = <interface name="org.gnome.OSTreeBuild.AutoBuilder">
<method name="queueResolve">
<arg type="as" direction="in" />
@@ -51,18 +49,15 @@ const Autobuilder = new Lang.Class({
this._initialResolveNeeded = true;
this._fullResolveNeeded = true;
this._resolveTimeout = 0;
- this._prevSourceSnapshotPath = null;
this._queuedForceResolve = [];
},
execute: function(args, loop, cancellable) {
- this._initSnapshot(null, null, cancellable);
+ this._initWorkdir(null, cancellable);
if (args.autoupdate_self)
this._autoupdate_self = Gio.File.new_for_path(args.autoupdate_self);
- this._manifestPath = Gio.File.new_for_path('manifest.json');
-
this._ownId = Gio.DBus.session.own_name('org.gnome.OSTreeBuild', Gio.BusNameOwnerFlags.NONE,
function(name) {},
function(name) { loop.quit(); });
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]