From 5278185a96d2d829b60d723e563ff063f5d05c4e Mon Sep 17 00:00:00 2001
From: Iustin Pop <iustin@google.com>
Date: Tue, 27 Jan 2009 15:41:01 +0000
Subject: [PATCH] Fix single-job archiving (gnt-job archive)

This is a simply typo from the conversion to multi-job archiving.

Reviewed-by: imsnah
---
 lib/jqueue.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/jqueue.py b/lib/jqueue.py
index 4b9f86dd0..dcdce1e28 100644
--- a/lib/jqueue.py
+++ b/lib/jqueue.py
@@ -1178,7 +1178,7 @@ class JobQueue(object):
       logging.debug("Job %s not found", job_id)
       return False
 
-    return self._ArchiveJobUnlocked([job]) == 1
+    return self._ArchiveJobsUnlocked([job]) == 1
 
   @utils.LockedMethod
   @_RequireOpenQueue
-- 
GitLab