[Erp5-report] r43917 mario.amaral - /erp5/trunk/utils/cloudooo/cloudooo/manager.py

nobody at svn.erp5.org nobody at svn.erp5.org
Wed Mar 2 23:14:51 CET 2011


Author: mario.amaral
Date: Wed Mar  2 23:14:51 2011
New Revision: 43917

URL: http://svn.erp5.org?rev=43917&view=rev
Log:
Change getChapterItemList and getChapterItem to receive a data.

Modified:
    erp5/trunk/utils/cloudooo/cloudooo/manager.py

Modified: erp5/trunk/utils/cloudooo/cloudooo/manager.py
URL: http://svn.erp5.org/erp5/trunk/utils/cloudooo/cloudooo/manager.py?rev=43917&r1=43916&r2=43917&view=diff
==============================================================================
--- erp5/trunk/utils/cloudooo/cloudooo/manager.py [utf8] (original)
+++ erp5/trunk/utils/cloudooo/cloudooo/manager.py [utf8] Wed Mar  2 23:14:51 2011
@@ -347,9 +347,9 @@ class Manager(object):
   def getChapterItemList(self, data, source_format):
     """Returns the list of chapters in the form of (id, level)."""
     document = self._getOOGranulator(data, source_format)
-    return document.getChapterItemList(data)
+    return document.getChapterItemList()
 
   def getChapterItem(self, chapter_id, data, source_format):
     """Return the chapter in the form of (title, level)."""
     document = self._getOOGranulator(data, source_format)
-    return document.getChapterItem(data, chapter_id)
+    return document.getChapterItem(chapter_id)



More information about the Erp5-report mailing list