[gnome-hwtest] controller.js: Fix a typo



commit 8756fcea25bafae2b4f478b450986dc658a87a98
Author: Owen W. Taylor <otaylor fishsoup net>
Date:   Tue Jul 22 16:04:17 2014 -0400

    controller.js: Fix a typo
    
    Wrong variable was referred to, causing problems with more than
    one simultaneous job.

 js/controller.js |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/js/controller.js b/js/controller.js
index aab514a..cf6490c 100644
--- a/js/controller.js
+++ b/js/controller.js
@@ -269,7 +269,7 @@ const UpdateJob = Lang.Class({
             return false;
 
         for (let job of this.runner.jobs) {
-            if (job instanceof TestJob && job.partition == partition)
+            if (job instanceof TestJob && job.partition == this.partition)
                 return false;
         }
 


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