[Sugar-devel] [PATCH] fix journal scan of external media, dev.laptop.org #10140
Sascha Silbe
sascha-ml-reply-to-2010-3 at silbe.org
Tue Nov 30 09:32:57 EST 2010
Excerpts from James Cameron's message of Tue Nov 30 01:14:14 +0100 2010:
[src/jarabe/journal/model.py]
> + if self._date_start is not None and self.st_mtime < self._date_start:
> + return
> +
> + if self._date_end is not None and self.st_mtime > self._date_end:
> + return
Both occurrences of self.st_mtime need to read stat.st_mtime instead
(found by pylint).
With those changes:
Tested-By: Sascha Silbe <sascha-pgp at silbe.org>
Reviewed-By: Sascha Silbe <sascha-pgp at silbe.org>
Sascha
--
http://sascha.silbe.org/
http://www.infra-silbe.de/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: not available
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20101130/8d045a98/attachment.pgp>
More information about the Sugar-devel
mailing list