[gnome-ostree] autobuilder: Drop useless skip argument



commit a7ca48fa949f6b53c552bd952429ecf68094f267
Author: Colin Walters <walters verbum org>
Date:   Mon Jul 15 16:53:49 2013 -0400

    autobuilder: Drop useless skip argument
    
    It doesn't make sense to just do resolve.

 src/js/builtins/autobuilder.js |    5 +----
 1 files changed, 1 insertions(+), 4 deletions(-)
---
diff --git a/src/js/builtins/autobuilder.js b/src/js/builtins/autobuilder.js
index 105fb6d..ec1cd43 100644
--- a/src/js/builtins/autobuilder.js
+++ b/src/js/builtins/autobuilder.js
@@ -44,8 +44,6 @@ const Autobuilder = new Lang.Class({
        this.parent();
 
         this.parser.addArgument('--autoupdate-self', { action: 'store' });
-        this.parser.addArgument('--skip', { action: 'append',
-                                           help: "Don't process tasks after this" });
 
        this._buildNeeded = true;
        this._initialResolveNeeded = true;
@@ -74,8 +72,7 @@ const Autobuilder = new Lang.Class({
        this._src_db = new JsonDB.JsonDB(this._snapshot_dir);
 
        this._taskmaster = new Task.TaskMaster(this.workdir.get_child('tasks'),
-                                                 { onEmpty: Lang.bind(this, this._onTasksComplete),
-                                                   skip: args.skip });
+                                                 { onEmpty: Lang.bind(this, this._onTasksComplete) });
        this._taskmaster.connect('task-executing', Lang.bind(this, this._onTaskExecuting));
        this._taskmaster.connect('task-complete', Lang.bind(this, this._onTaskCompleted));
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]