Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/webapp/polls/views.py
diff options
context:
space:
mode:
authorRogelio Mita <rogeliomita@activitycentral.com>2013-10-03 04:13:50 (GMT)
committer Rogelio Mita <rogeliomita@activitycentral.com>2013-10-03 04:13:50 (GMT)
commitc018e3ce50a172f06c91bad4c048a8a826bb64b6 (patch)
treeda1977f0bb05260e56f61ed1ee68c59925d0d6b2 /webapp/polls/views.py
parent588df71ace59728ca4574e7cf2b1909f7d0a75fe (diff)
Remove unused variable
Diffstat (limited to 'webapp/polls/views.py')
-rw-r--r--webapp/polls/views.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/webapp/polls/views.py b/webapp/polls/views.py
index 4fdab14..42bc84c 100644
--- a/webapp/polls/views.py
+++ b/webapp/polls/views.py
@@ -378,7 +378,7 @@ class UnploadPollResultFormView(TemplateView):
# comprueba si los archivos ya existían y los excluye
existing = []
new_files = []
- for index, file_ in enumerate(valid_files):
+ for file_ in valid_files:
prf = PollResultFile(file_.temporary_file_path())
exists = prf.exists() or not prf.validate()
existing.append(file_.name) if exists else new_files.append(file_)