diff --git a/mig/server/bestfitscheduler.py b/mig/server/bestfitscheduler.py index 8245147c2..c75cf8500 100644 --- a/mig/server/bestfitscheduler.py +++ b/mig/server/bestfitscheduler.py @@ -4,7 +4,7 @@ # --- BEGIN_HEADER --- # # bestfitscheduler - best fit job scheduler -# Copyright (C) 2003-2023 The MiG Project lead by Brian Vinter +# Copyright (C) 2003-2026 The MiG Project by the Science HPC Center at UCPH # # This file is part of MiG. # @@ -20,7 +20,8 @@ # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, +# USA. # # -- END_HEADER --- # @@ -116,6 +117,7 @@ def schedule(self, resource_conf, must_match={}): best_job = None best_fitness = 0.0 + best_i = 0 for i in range(0, qlen): job = self.job_queue.get_job(i) diff --git a/mig/server/scheduler.py b/mig/server/scheduler.py index 10fbaf404..3a0d33328 100644 --- a/mig/server/scheduler.py +++ b/mig/server/scheduler.py @@ -4,7 +4,7 @@ # --- BEGIN_HEADER --- # # scheduler - base scheduler class used by all schedulers -# Copyright (C) 2003-2024 The MiG Project lead by Brian Vinter +# Copyright (C) 2003-2026 The MiG Project by the Science HPC Center at UCPH # # This file is part of MiG. # @@ -20,7 +20,8 @@ # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, +# USA. # # -- END_HEADER --- #