attempt to fix python binding issue

This commit is contained in:
Arvid Norberg 2013-07-09 06:14:21 +00:00
parent 1607d0346e
commit 621541cde5
1 changed files with 2 additions and 1 deletions

View File

@ -126,7 +126,8 @@ void bind_alert()
.value("ip_block_notification", alert::ip_block_notification) .value("ip_block_notification", alert::ip_block_notification)
.value("performance_warning", alert::performance_warning) .value("performance_warning", alert::performance_warning)
.value("stats_notification", alert::stats_notification) .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)
; ;
} }