From 89a8a7e9d7da58ebe5d174a886a66be518cfd4ee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Tue, 10 Sep 2013 09:35:02 +0200 Subject: [PATCH] sync-tabellio: comment translation --- docbow_project/docbow/management/commands/sync-tabellio.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docbow_project/docbow/management/commands/sync-tabellio.py b/docbow_project/docbow/management/commands/sync-tabellio.py index 8019b75..ded270f 100644 --- a/docbow_project/docbow/management/commands/sync-tabellio.py +++ b/docbow_project/docbow/management/commands/sync-tabellio.py @@ -11,8 +11,8 @@ from django.template.defaultfilters import slugify from docbow_project.docbow.models import MailingList, DocbowProfile -# Utilise seulement des majuscules et des chiffres, sauf i,l et 1, O et 0 -__pwd_alphabet = 'ABCDEFGHJKMNPQRSTUVWXYZ23456789' +# Generate passwords using capitals and numbers, but no 1 or I, O or 0 +__pwd_alphabet = 'ABCDEFGHJKLMNPQRSTUVWXYZ23456789' def create_password(pwd_length=8): password = ''.join([random.choice(__pwd_alphabet) for x in range(pwd_length)])