Port yokadi to Python3

Le lundi 15 septembre 2014 01:22:23 Aurélien Gâteau a écrit :
> > @@ -65,7 +65,7 @@ def setKeywordDict(self, dct):
> >          for projectKeyword in self.projectKeywords:
> >              session.delete(projectKeyword)
> > 
> > -        for name, value in dct.items():
> 
> > +        for name, value in list(dct.items()):
> Is this change really necessary? iterating on the return value of a
> dict.items() call works fine here with Python 3.

I do agree. That's a default behaviour of 2to3 that is documented here : 
https://docs.python.org/2/library/2to3.html

I don't know the reason behind that. Maybe in case some people do weird things 
with overloaded dict.

But in our case, that's not necessary and you be safely removed. 
-- 
Sébastien