From dbc0f353c55e81a92eb8d6751f6b20b0818356ce Mon Sep 17 00:00:00 2001 From: John Jarvis Date: Tue, 29 Jan 2013 10:22:58 -0500 Subject: [PATCH] cert_status temporary assignment removed --- lms/djangoapps/certificates/queue.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lms/djangoapps/certificates/queue.py b/lms/djangoapps/certificates/queue.py index f6b5943564..2150f1066c 100644 --- a/lms/djangoapps/certificates/queue.py +++ b/lms/djangoapps/certificates/queue.py @@ -167,8 +167,7 @@ class XQueueCertInterface(object): # check to see whether the student is on the # the embargoed country restricted list if self.restricted.filter(user=student).exists(): - cert_status = status.restricted - cert.status = cert_status + cert.status = status.restricted cert.save() return cert.status