From a51699b87fae0f8368849e1e59b1dbcb8853e6cf Mon Sep 17 00:00:00 2001 From: Richard Darst Date: Thu, 24 Sep 2009 06:04:14 +0000 Subject: Template problem: Don't ever return none for ActionItemsPerson - For previous work, ActionItemsPerson was returned as None, which meant to not include it in the final output. This needs to not happen for the templates, or else it causes exceptions. darcs-hash:20090924060414-82ea9-350d8b6fd92e086088a681821aaaa0987e84069d.gz --- (limited to 'writers.py') diff --git a/writers.py b/writers.py index 35ac061..c609546 100644 --- a/writers.py +++ b/writers.py @@ -207,8 +207,8 @@ class _BaseWriter(object): thisNick['items'].append(escape(m.line)) if len(thisNick['items']) > 1: ActionItemsPerson.append(thisNick) - if numberAssigned == 0: - ActionItemsPerson = None + #if numberAssigned == 0: + # ActionItemsPerson = None repl['ActionItemsPerson'] = ActionItemsPerson # Format of ActionItemsPerson # ActionItemsPerson = -- cgit v0.9.1