diff options
author | etienne <etienne@07715635-78ed-41b0-aaf1-0afda6c37f35> | 2008-08-05 22:45:28 +0000 |
---|---|---|
committer | etienne <etienne@07715635-78ed-41b0-aaf1-0afda6c37f35> | 2008-08-05 22:45:28 +0000 |
commit | b2019ae7c6c13601b0f63d6324484010dc0216c7 (patch) | |
tree | 835966a5d81ee15c85cd4090360fb5c694a150b6 | |
parent | b10461003a785b6579e82fae380161396d94b68e (diff) | |
download | Papillon-b2019ae7c6c13601b0f63d6324484010dc0216c7.tar.bz2 Papillon-b2019ae7c6c13601b0f63d6324484010dc0216c7.zip |
Changing confusing variable names
-rw-r--r-- | polls/views.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/polls/views.py b/polls/views.py index f63d31f..deee26c 100644 --- a/polls/views.py +++ b/polls/views.py @@ -4,7 +4,7 @@ # This program can be distributed under the terms of the GNU GPL. # See the file COPYING. -from random import choice +from random import choice as random_choice import string import time @@ -31,7 +31,7 @@ def createOrEdit(request, admin_url): chars = string.letters + string.digits url = '' for i in range(6): - url += choice(chars) + url += random_choice(chars) url += str(int(time.time())) return url |