[Erp5-report] r42575 luke - /erp5/trunk/products/Vifib/Tool/SlapTool.py

nobody at svn.erp5.org nobody at svn.erp5.org
Fri Jan 21 13:35:28 CET 2011


Author: luke
Date: Fri Jan 21 13:35:28 2011
New Revision: 42575

URL: http://svn.erp5.org?rev=42575&view=rev
Log:
 - clean up file a bit

Modified:
    erp5/trunk/products/Vifib/Tool/SlapTool.py

Modified: erp5/trunk/products/Vifib/Tool/SlapTool.py
URL: http://svn.erp5.org/erp5/trunk/products/Vifib/Tool/SlapTool.py?rev=42575&r1=42574&r2=42575&view=diff
==============================================================================
--- erp5/trunk/products/Vifib/Tool/SlapTool.py [utf8] (original)
+++ erp5/trunk/products/Vifib/Tool/SlapTool.py [utf8] Fri Jan 21 13:35:28 2011
@@ -262,7 +262,7 @@ class SlapTool(BaseTool):
   security.declareProtected(Permissions.AccessContentsInformation, 'useComputer')
   def useComputer(self, computer_id, use_string):
     """Entry point to reporting usage of a computer."""
-    computer_document = self._getComputerDocument(computer_id)
+    #computer_document = self._getComputerDocument(computer_id)
     # easy way to start to store usage messages sent by client in related Web
     # Page text_content...
     
@@ -273,7 +273,8 @@ class SlapTool(BaseTool):
     
     #LOG("check-2", 0, "%s" % res[0].usage)
     vifib_conduit_instance = VifibConduit.VifibConduit()
-    sub_object = vifib_conduit_instance.addNode(object=self, 
+    #sub_object = vifib_conduit_instance.addNode(object=self, 
+    vifib_conduit_instance.addNode(object=self, 
                 xml=unmarshalled_usage.computer_partition_usage_list[0].usage)
     
     #sub_object = vifib_conduit_instance.addNode(object=self, xml=res[0].usage)



More information about the Erp5-report mailing list