[om2009] shr-settings like ? usability ?

Xavier Cremaschi omega.xavier at gmail.com
Fri Jul 10 22:49:05 CEST 2009


Laszlo KREKACS a écrit :
> "if self.LetterDict and len(value):"
> The len(value) part is not needed, because you already fixed it before.
> And if the value is None, the len(value) fails with a TypeError exception.
> 
> I pushed a fix which should be enough:
> http://git.paroli-project.org/?p=paroli.git;a=commit;h=3af9f956337445dc3772038ba1eeeb8a4e33f406


I confirm the 'and len(value)' is mandatory, I did an update and your 
fixed version still crashes (it's ok again when I add the len(value))

Xavier.




More information about the community mailing list