[FIX] re indent the if

bzr revid: mva@openerp.com-20120227142038-67y1ltol66jtubim
This commit is contained in:
MVA 2012-02-27 15:20:38 +01:00
parent 1352c0d34e
commit d7b5855512
1 changed files with 1 additions and 1 deletions

View File

@ -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)