[CMF-checkins] SVN: CMF/trunk/GenericSetup/tool.py Improved debugging support.

Florent Guillaume fg at nuxeo.com
Thu Dec 29 13:05:05 EST 2005


Log message for revision 41053:
  Improved debugging support.
  

Changed:
  U   CMF/trunk/GenericSetup/tool.py

-=-
Modified: CMF/trunk/GenericSetup/tool.py
===================================================================
--- CMF/trunk/GenericSetup/tool.py	2005-12-29 17:40:52 UTC (rev 41052)
+++ CMF/trunk/GenericSetup/tool.py	2005-12-29 18:05:05 UTC (rev 41053)
@@ -236,6 +236,8 @@
 
         """ See ISetupTool.
         """
+        __traceback_info__ = self._import_context_id
+
         context = self._getImportContext(self._import_context_id, purge_old)
 
         steps = self._import_registry.sortSteps()
@@ -703,6 +705,8 @@
 
         """ Run a single import step, using a pre-built context.
         """
+        __traceback_info__ = step_id
+
         handler = self._import_registry.getStep(step_id)
 
         if handler is None:



More information about the CMF-checkins mailing list