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 <[email protected]>
---
 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


_______________________________________________
lttng-dev mailing list
[email protected]
http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

Reply via email to