[Erp5-report] r24405 - /erp5/trunk/utils/treenalyser.py

nobody at svn.erp5.org nobody at svn.erp5.org
Thu Oct 30 10:12:45 CET 2008


Author: seb
Date: Thu Oct 30 10:12:32 2008
New Revision: 24405

URL: http://svn.erp5.org?rev=24405&view=rev
Log:
give working examples

Modified:
    erp5/trunk/utils/treenalyser.py

Modified: erp5/trunk/utils/treenalyser.py
URL: http://svn.erp5.org/erp5/trunk/utils/treenalyser.py?rev=24405&r1=24404&r2=24405&view=diff
==============================================================================
--- erp5/trunk/utils/treenalyser.py [utf8] (original)
+++ erp5/trunk/utils/treenalyser.py [utf8] Thu Oct 30 10:12:32 2008
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/python2.4
 ##############################################################################
 #
 # Copyright (c) 2001 Zope Corporation and Contributors. All Rights Reserved.
@@ -33,7 +33,8 @@
 -q: Decrease verbosity. Can be used multiple times.
 -p: Path to object to examine recursively. By default, start at ZODB's root.
     This parameter must be a valid python expression on the "root" variable.
-    Example: -p "root['erp5']"
+    Example: -p "root['Application']['erp5']"
+    Example: -p "root['Application']['erp5'].__Broken_state__['sale_order_module'].__Broken_state__['_tree']['5000']"
 -c: Enable display of class path for each object.
 -x: Enable display of hexadecimal dump of object's raw data.
 """




More information about the Erp5-report mailing list