comparison roundup_cc_display.py @ 32:80bbd06fe8ec

Add Comments
author Magnus Schieder <mschieder@intevation.de>
date Fri, 23 Nov 2018 16:13:24 +0100
parents 9aca070c86bd
children
comparison
equal deleted inserted replaced
31:9aca070c86bd 32:80bbd06fe8ec
3 """ Fetch issues from a roundup-tracker and save them in a databse. 3 """ Fetch issues from a roundup-tracker and save them in a databse.
4 4
5 author: Sascha L. Teichmann <sascha.teichmann@intevation.de> 5 author: Sascha L. Teichmann <sascha.teichmann@intevation.de>
6 author: Bernhard Reiter <bernhard@intevation.de> 6 author: Bernhard Reiter <bernhard@intevation.de>
7 author: Sean Engelhardt <sean.engelhardt@intevation.de> 7 author: Sean Engelhardt <sean.engelhardt@intevation.de>
8 author: Magnus Schieder <magnus.schieder@intevation.de>
8 9
9 (c) 2010, 2015, 2018 by Intevation GmbH 10 (c) 2010, 2015, 2018 by Intevation GmbH
10 11
11 This is Free Software unter the terms of the 12 This is Free Software unter the terms of the
12 GNU GENERAL PUBLIC LICENSE Version 3 or later. 13 GNU GENERAL PUBLIC LICENSE Version 3 or later.
27 config = configparser.ConfigParser() 28 config = configparser.ConfigParser()
28 config.read(args.config_file) 29 config.read(args.config_file)
29 30
30 db = config.get("DB", "DatabaseFile") 31 db = config.get("DB", "DatabaseFile")
31 keywords = config.get("SEARCH", "Keywords", fallback="") 32 keywords = config.get("SEARCH", "Keywords", fallback="")
32
33 33
34 search = config.get("SEARCH", "Search", fallback="prio") 34 search = config.get("SEARCH", "Search", fallback="prio")
35 if search == "prio": 35 if search == "prio":
36 search_parameters = config.get("SEARCH", "Status", fallback="") 36 search_parameters = config.get("SEARCH", "Status", fallback="")
37 columns = config.get("SEARCH", "Priority", fallback=PRIO) 37 columns = config.get("SEARCH", "Priority", fallback=PRIO)
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)