Comment 4 for bug 758171

Revision history for this message
Jorge González (jag2kn) wrote :

the problem are the internationalization

I print the start and end:
u'21-abr-2002', u'20-abr-2010'

april 21 in spanish

I change:

ret, result = self.gmail.search(None, '(SINCE "%s") (BEFORE "%s")' % (start, end))
to
ret, result = self.gmail.search(None, '(SINCE "%s") (BEFORE "%s")' % (u'21-apr-2002', u'20-apr-2010'))

and run ok, then the problem are in my case the language date of start and end.