cubicweb/__main__.py
author Julien Cristau <julien.cristau@logilab.fr>
Wed, 09 Mar 2016 14:53:33 +0100
changeset 11241 a2091fa8cb2c
parent 11099 5fdbf6f2db88
child 12253 9165f4b7426b
permissions -rwxr-xr-x
[web/httpcache] fix Last-Modified generation time.mktime takes a time tuple in *local* time. We have an UTC datetime coming from the last_modified method, which we were interpreting as local time, leading to hilarity. Use calendar.timegm instead. Add tests for Last-Modified generation of the 'download' and 'manage' views.

from cubicweb.cwctl import run
import sys

run(sys.argv[1:])