From e4455e8fff2c985296fe76193e423f10916fffc1 Mon Sep 17 00:00:00 2001 From: Per Cederqvist <ceder@lysator.liu.se> Date: Mon, 30 Oct 2006 18:26:11 +0000 Subject: [PATCH] Fixed crash in distribute-tasks. * distribute-tasks (read_new_tasks): Added missing global declaration. --- ChangeLog | 5 +++++ distribute-tasks | 2 ++ 2 files changed, 7 insertions(+) diff --git a/ChangeLog b/ChangeLog index 2aa08d1..29158f8 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,10 @@ 2006-10-30 Per Cederqvist <ceder@sedesopim.lysator.liu.se> + Fixed crash in distribute-tasks. + + * distribute-tasks (read_new_tasks): Added missing global + declaration. + Provide a makefile that can install the system. * Makefile: New file diff --git a/distribute-tasks b/distribute-tasks index 1e419a9..6b41b48 100755 --- a/distribute-tasks +++ b/distribute-tasks @@ -81,6 +81,8 @@ def read_tasks(lysrdiffpart): ordered_tasks.append(info) def read_new_tasks(): + global ordered_tasks + new_found = False new_tasks = [] for line in file("/nobackup/backup.lysator/var/tasks"): -- GitLab