[Mpuls-commits] r5192 - base/trunk/mpulsweb/model
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Wed Jul 27 09:29:51 CEST 2011
Author: torsten
Date: 2011-07-27 09:28:50 +0200 (Wed, 27 Jul 2011)
New Revision: 5192
Modified:
base/trunk/mpulsweb/model/phase.py
Log:
Zeige keine Warnung f?\195?\188r fehlendes Phasen-Datumsfeld bei der Phase "unbekannt",
da diese kein Datum hat.
Modified: base/trunk/mpulsweb/model/phase.py
===================================================================
--- base/trunk/mpulsweb/model/phase.py 2011-07-25 13:12:20 UTC (rev 5191)
+++ base/trunk/mpulsweb/model/phase.py 2011-07-27 07:28:50 UTC (rev 5192)
@@ -292,7 +292,7 @@
if self.id in flags['time']:
self.datefield = p.getName()
- if self.datefield is None:
+ if self.datefield is None and self.phase != '-1':
log.warning("Phase %s has no associated datefield", id)
def getDescription(self):
More information about the Mpuls-commits
mailing list