[Getan-commits] [PATCH 2 of 2] Empty workpackage defaults to "-" instead of "----"
Wald Commits
scm-commit at wald.intevation.org
Mon Mar 3 15:49:43 CET 2014
# HG changeset patch
# User Thomas Arendsen Hein <thomas at intevation.de>
# Date 1393858162 -3600
# Node ID c18bd0042eda210134644daccac938be77063d07
# Parent a91cd3a13637e9c65a3c3fe777de4510ab894dce
Empty workpackage defaults to "-" instead of "----"
The length of workpackage names is varying, so default to a single easily
replaceable character.
diff -r a91cd3a13637 -r c18bd0042eda getan/project.py
--- a/getan/project.py Mon Mar 03 15:47:13 2014 +0100
+++ b/getan/project.py Mon Mar 03 15:49:22 2014 +0100
@@ -102,7 +102,7 @@
self.workpackage = m.group(1)
c = c[m.end():].strip()
else:
- self.workpackage = "----"
+ self.workpackage = "-"
c = c.replace('\x1b', '')
self.comment = c
More information about the Getan-commits
mailing list