annotate debian/changelog @ 536:a59622c06936

Fix generating reports if no week given unix_week() cannot handle week being None but does so for year. It just assumes the current year in this case, although this only duplicates the initialisation of year with c_year in this context. week being None gives TypeError: unsupported operand type(s) for -: 'NoneType' and 'int' load_entries() handles the case with no week given, thus call it anyhow. This fix makes it possible to invoke scripts/getan-report with a year given but no week and seeing the expected result (data for a whole year) instead of a traceback.
author Tom Gottfried <tom@intevation.de>
date Thu, 09 Jan 2020 11:32:34 +0100
parents 50b37580f2e4
children
rev   line source
187
50b37580f2e4 Update to 1.0er release
Björn Ricks <bjoern.ricks@intevation.de>
parents: 186
diff changeset
1 getan (1.0-1) stable; urgency=low
50b37580f2e4 Update to 1.0er release
Björn Ricks <bjoern.ricks@intevation.de>
parents: 186
diff changeset
2
50b37580f2e4 Update to 1.0er release
Björn Ricks <bjoern.ricks@intevation.de>
parents: 186
diff changeset
3 * Release 1.0
50b37580f2e4 Update to 1.0er release
Björn Ricks <bjoern.ricks@intevation.de>
parents: 186
diff changeset
4
50b37580f2e4 Update to 1.0er release
Björn Ricks <bjoern.ricks@intevation.de>
parents: 186
diff changeset
5 -- Bjoern Ricks <bjoern.ricks@intevation.de> Thu, 13 Dec 2012 15:56:08 +0100
50b37580f2e4 Update to 1.0er release
Björn Ricks <bjoern.ricks@intevation.de>
parents: 186
diff changeset
6
186
87b8c8c4e6c3 Fix debian version in changelog
Björn Ricks <bjoern.ricks@intevation.de>
parents: 120
diff changeset
7 getan (1.0~dev1-1) stable; urgency=low
120
efff8b9e7046 Add debian package description
Björn Ricks <bjoern.ricks@intevation.de>
parents:
diff changeset
8
efff8b9e7046 Add debian package description
Björn Ricks <bjoern.ricks@intevation.de>
parents:
diff changeset
9 * Initial Package
efff8b9e7046 Add debian package description
Björn Ricks <bjoern.ricks@intevation.de>
parents:
diff changeset
10
efff8b9e7046 Add debian package description
Björn Ricks <bjoern.ricks@intevation.de>
parents:
diff changeset
11 -- Bjoern Ricks <bjoern.ricks@intevation.de> Mon, 12 Dec 2011 09:37:49 +0100
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)