summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorArend van Spriel <aspriel@gmail.com>2015-05-06 14:26:01 +0200
committerThomas Haller <thaller@redhat.com>2015-05-12 13:26:15 +0200
commita4a75227df4edd5ed7e16db52cc3abf24c29eeb4 (patch)
treebb8013d4c1649aa77d352cff7e658d3d6dc55ca4 /python
parent4e115113c9e9fa391c177dfc113eceaf0a9cb8b4 (diff)
downloadlibnl-a4a75227df4edd5ed7e16db52cc3abf24c29eeb4.tar.gz
python: disable swig debug print messages
The define was left enabled during development on netlink (and genl) python swig api. It is a bit annoying in production release so disable the define. Signed-off-by: Arend van Spriel <aspriel@gmail.com>
Diffstat (limited to 'python')
-rw-r--r--python/netlink/capi.i3
1 files changed, 2 insertions, 1 deletions
diff --git a/python/netlink/capi.i b/python/netlink/capi.i
index e5d8a536..e208ec44 100644
--- a/python/netlink/capi.i
+++ b/python/netlink/capi.i
@@ -9,7 +9,8 @@
#include <netlink/attr.h>
#include <net/if.h>
-#define DEBUG
+/* enable define below to get swig api debug messages */
+/*#define DEBUG*/
#include "utils.h"
%}