comparison collect_issues.py @ 23:10167e40a657

Improve codestyle (minor)
author Bernhard Reiter <bernhard@intevation.de>
date Fri, 02 Nov 2018 17:15:14 +0100
parents 3bb3d9a9f1b7
children b07588ac28b6
comparison
equal deleted inserted replaced
22:33d7c7769155 23:10167e40a657
106 """ 106 """
107 107
108 quantities = [0] * (len(columns) +1) 108 quantities = [0] * (len(columns) +1)
109 order_dict = {} 109 order_dict = {}
110 110
111 #convert the csv-dict reader to real dict 111 # convert the csv-dict reader to real dict
112 for row in orders_csv: 112 for row in orders_csv:
113 order_dict[row["id"]] = int(float(row["order"])) # int(float()) because the order-value is indeed "1.0, 2.0" etc 113 order_dict[row["id"]] = int(float(row["order"])) # int(float()) because the order-value is indeed "1.0, 2.0" etc
114 114
115 for issue in issue_csv: 115 for issue in issue_csv:
116 priority = issue["priority"] 116 priority = issue["priority"]
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)