From 461cfcd6c736a016636932e019476558135f0ccf Mon Sep 17 00:00:00 2001 From: CruiseDevice Date: Mon, 14 Jan 2019 14:42:01 +0530 Subject: Remove unused variables and imports --- yaksh/test_models.py | 2 +- yaksh/views.py | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) (limited to 'yaksh') diff --git a/yaksh/test_models.py b/yaksh/test_models.py index 3ae181c..8b9aa37 100644 --- a/yaksh/test_models.py +++ b/yaksh/test_models.py @@ -21,7 +21,7 @@ import os import shutil import tempfile from threading import Thread -from collections import Counter, defaultdict +from collections import defaultdict from yaksh import settings diff --git a/yaksh/views.py b/yaksh/views.py index 3eaa165..68d2b8a 100644 --- a/yaksh/views.py +++ b/yaksh/views.py @@ -568,7 +568,6 @@ def show_question(request, question, paper, error_message=None, previous_question=None): """Show a question if possible.""" quiz = paper.question_paper.quiz - questions = paper.questions.all() quiz_type = 'Exam' can_skip = False if previous_question: -- cgit