From fdead6f0c884e69a28756174a2cf10a105766a45 Mon Sep 17 00:00:00 2001
From: Vincent Le Gallic <legallic@crans.org>
Date: Sun, 28 Jul 2013 17:32:03 +0200
Subject: [PATCH] =?UTF-8?q?unicode=20oubli=C3=A9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 client.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/client.py b/client.py
index 575946b..dad9ff1 100755
--- a/client.py
+++ b/client.py
@@ -391,7 +391,7 @@ def edit_file(fname):
     if value == False:
         nfile = True
         print u"Fichier introuvable".encode("utf-8")
-        if not confirm("Créer fichier ?"):
+        if not confirm(u"Créer fichier ?"):
             return
         annotations += u"""Ceci est un fichier initial contenant un mot de passe
 aléatoire, pensez à rajouter une ligne "login: ${login}"
@@ -433,7 +433,7 @@ def confirm(text):
     """Demande confirmation, sauf si on est mode ``FORCED``"""
     if FORCED: return True
     while True:
-        out = raw_input((text + ' (O/N)').encode("utf-8")).lower()
+        out = raw_input((text + u' (O/N)').encode("utf-8")).lower()
         if out == 'o':
             return True
         elif out == 'n':
-- 
GitLab