bernhard@3: #!/usr/bin/env python3 bernhard@3: bernhard@3: """ Fetch issues from a roundup-tracker and save them in a databse. bernhard@3: bernhard@3: author: Sascha L. Teichmann bernhard@3: author: Bernhard Reiter bernhard@3: author: Sean Engelhardt bernhard@3: bernhard@17: (c) 2010, 2015, 2018 by Intevation GmbH bernhard@3: bernhard@3: This is Free Software unter the terms of the bernhard@3: GNU GENERAL PUBLIC LICENSE Version 3 or later. bernhard@3: See http://www.gnu.org/licenses/gpl-3.0.txt for details bernhard@3: """ bernhard@3: bernhard@3: from display_issues import * bernhard@3: bernhard@3: cgitb.enable() # (optional) HTML traceback to browser bernhard@17: #render_db_stats_as_html("./demo1.db", rcd.SELECT_ALL) bernhard@17: render_db_stats_as_html("./demo1.db", gernot@13: rcd.SELECT_WHERE.format("timestamp > date('now', '-2 month')"))