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:04:25 (GMT)
committer Rogelio Mita <rogeliomita@activitycentral.com>2013-10-03 04:04:25 (GMT)
commit769d08fd8a866c76a97961404e45315145dab28f (patch)
tree7508d66ff799c106d2145f657f98ccc2955ab613 /webapp/polls/views.py
parent81e62127a060a678a3410c9d7fccb1c938952676 (diff)
Rename file var name to file_
Diffstat (limited to 'webapp/polls/views.py')
-rw-r--r--webapp/polls/views.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/webapp/polls/views.py b/webapp/polls/views.py
index 1a09660..9830e8c 100644
--- a/webapp/polls/views.py
+++ b/webapp/polls/views.py
@@ -377,10 +377,10 @@ class UnploadPollResultFormView(TemplateView):
# comprueba si los archivos ya existían y los excluye
existing = []
- for index, file in enumerate(valid_files):
- prf = PollResultFile(file.temporary_file_path())
+ for index, file_ in enumerate(valid_files):
+ prf = PollResultFile(file_.temporary_file_path())
if prf.exists() or not prf.validate():
- existing.append(file.name)
+ existing.append(file_.name)
del valid_files[index]
if len(existing):