From 621541cde54badb3a240a0d68eb9c55b5dfba47d Mon Sep 17 00:00:00 2001 From: Arvid Norberg Date: Tue, 9 Jul 2013 06:14:21 +0000 Subject: [PATCH] attempt to fix python binding issue --- bindings/python/src/alert.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bindings/python/src/alert.cpp b/bindings/python/src/alert.cpp index bced01028..613d331e6 100644 --- a/bindings/python/src/alert.cpp +++ b/bindings/python/src/alert.cpp @@ -126,7 +126,8 @@ void bind_alert() .value("ip_block_notification", alert::ip_block_notification) .value("performance_warning", alert::performance_warning) .value("stats_notification", alert::stats_notification) - .value("all_categories", alert::all_categories) + // deliberately not INT_MAX. Arch linux crash while throwing an exception + .value("all_categories", (alert::category_t)0xfffffff) ; }