3272: Proposal for updating config settings

svn: r13346
This commit is contained in:
Doug Blank
2009-10-08 01:12:51 +00:00
parent 3959b59d40
commit 99282aa715
94 changed files with 1220 additions and 1230 deletions

View File

@@ -33,7 +33,7 @@ from gen.plug import PluginManager
from ReportBase import CATEGORY_QR_DATE
import DateHandler
import gen.lib
import Config
import config
def run(database, document, date):
"""
@@ -70,7 +70,7 @@ def run(database, document, date):
diff_span = (date - birth_date)
if ((death_date is not None) or
(death_date is None and
int(diff_span) <= Config.get(Config.MAX_AGE_PROB_ALIVE) * 365)):
int(diff_span) <= config.get('behavior.max-age-prob-alive') * 365)):
birth_str = str(diff_span)
birth_sort = int(diff_span)
if birth_str != "":