[gnome-ostree] autobuilder: Remove some dead code



commit db95939454cce1a851915b8b99d71f1774e3ca59
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 ec1cd43..9ca4aea 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" />
@@ -49,18 +47,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]