server/__init__.py
branchstable
changeset 9325 a4fc09836329
parent 8755 1f3757ef3762
child 9333 22423634d06d
--- a/server/__init__.py	Fri Oct 25 12:23:06 2013 +0200
+++ b/server/__init__.py	Thu Nov 07 11:20:59 2013 +0100
@@ -105,13 +105,13 @@
 
     It can be used either as a context manager:
 
-    >>> with debugged(server.DBG_RQL | server.DBG_REPO):
+    >>> with debugged('DBG_RQL | DBG_REPO'):
     ...     # some code in which you want to debug repository activity,
     ...     # seing information about RQL being executed an repository events.
 
     or as a function decorator:
 
-    >>> @debugged(server.DBG_RQL | server.DBG_REPO)
+    >>> @debugged('DBG_RQL | DBG_REPO')
     ... def some_function():
     ...     # some code in which you want to debug repository activity,
     ...     # seing information about RQL being executed an repository events