From d7b5855512160d71b8ddb0204ea7ef1dd1f8c7bc Mon Sep 17 00:00:00 2001 From: MVA Date: Mon, 27 Feb 2012 15:20:38 +0100 Subject: [PATCH] [FIX] re indent the if bzr revid: mva@openerp.com-20120227142038-67y1ltol66jtubim --- addons/event_moodle/event_moodle.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/event_moodle/event_moodle.py b/addons/event_moodle/event_moodle.py index 58070867649..6aa33b78659 100644 --- a/addons/event_moodle/event_moodle.py +++ b/addons/event_moodle/event_moodle.py @@ -49,7 +49,7 @@ class event_moodle(osv.osv): def encode_password(self,cr,uid,ids,password,context=None): for i in range(len(password)): x = password[i] - if (ord(x)<48 or ord(x)>57)and(ord(x)<64 or ord(x)>90)and(ord(x)<96 or ord(x)>122): + if (ord(x)<48 or ord(x)>57)and(ord(x)<64 or ord(x)>90)and(ord(x)<96 or ord(x)>122): unicode_car =(hex(ord(x))) hex_car = '%'+str(unicode_car[2:]) password = password.replace(x,hex_car)