[Erp5-report] r44320 mario.amaral - /erp5/trunk/utils/cloudooo/cloudooo/handler/ooo/

nobody at svn.erp5.org nobody at svn.erp5.org
Tue Mar 15 20:10:57 CET 2011


Author: mario.amaral
Date: Tue Mar 15 20:10:57 2011
New Revision: 44320

URL: http://svn.erp5.org?rev=44320&view=rev
Log:
The function getChapterItem now returns [chapter, chapter_id].

Modified:
    erp5/trunk/utils/cloudooo/cloudooo/handler/ooo/granulator.py

Modified: erp5/trunk/utils/cloudooo/cloudooo/handler/ooo/granulator.py
URL: http://svn.erp5.org/erp5/trunk/utils/cloudooo/cloudooo/handler/ooo/granulator.py?rev=44320&r1=44319&r2=44320&view=diff
==============================================================================
--- erp5/trunk/utils/cloudooo/cloudooo/handler/ooo/granulator.py [utf8] (original)
+++ erp5/trunk/utils/cloudooo/cloudooo/handler/ooo/granulator.py [utf8] Tue Mar 15 20:10:57 2011
@@ -242,7 +242,7 @@ class OOGranulator(object):
     chapter_list = self._getChapterList()
     try:
       chapter = chapter_list[chapter_id].encode('utf-8')
-      return [chapter_id, chapter]
+      return [chapter, chapter_id]
     except IndexError:
       msg = "Unable to find chapter %s at chapter list." % chapter_id
       logger.error(msg)



More information about the Erp5-report mailing list