[lttng-dev] [PATCH lttng-tools 4/4] Extras: Fixed inconsistent use of space and tabs in lttng.i.in.

Jérémie Galarneau jeremie.galarneau at efficios.com
Mon Jan 14 11:45:49 EST 2013


Python 3 does not allow mixing spaces and tabs. This eliminates
the error encountered when importing the lttng module in a
Python 3 interpreter.

Signed-off-by: Jérémie Galarneau <jeremie.galarneau at efficios.com>
---
 extras/bindings/swig/python/lttng.i.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/extras/bindings/swig/python/lttng.i.in b/extras/bindings/swig/python/lttng.i.in
index 244bc22..c947ce3 100644
--- a/extras/bindings/swig/python/lttng.i.in
+++ b/extras/bindings/swig/python/lttng.i.in
@@ -715,7 +715,7 @@ def calibrate(handle, calibrate):
 
 %pythoncode %{
 class Handle:
-        """
+	"""
 	Manages a handle.
 	Takes two arguments: (str session_name, Domain domain)
 	"""
-- 
1.8.1




More information about the lttng-dev mailing list