[gnome-ostree/wip/new-model: 5/12] autobuilder: Remove some dead code



commit 7c320dac679668fa8d84af4339e4195c3dfbc59a
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]