[Sugar-devel] [PATCH v2 Browse] Remove temporary downloaded (cancelled) files SL #3973

Manuel Kaufmann humitos at gmail.com
Wed Oct 3 06:52:48 EDT 2012


On Tue, Oct 2, 2012 at 5:35 PM, Martin Langhoff
<martin.langhoff at gmail.com> wrote:
> Actually, the answer is to avoid datetime. It's fine for high level
> work; when you care about times defined as epoch values, you

Yes, you are right. But datetime is much more elegant and makes the
code much more easy to read and follow. Personally, I prefer the
datetime version.

Anyway, I think we must add this function inside a GObject.idle_add()
so it is ran when the CPU is idle and we do not spend more time at
startup doing this task. It could be many and big files there that
could take some time to be removed.

-- 
Kaufmann Manuel
Blog: http://humitos.wordpress.com/
Porfolio: http://fotos.mkaufmann.com.ar/
PyAr: http://www.python.com.ar/


More information about the Sugar-devel mailing list