From d887a90ea0fa9f7135fc2daa384d09cc202d2611 Mon Sep 17 00:00:00 2001 From: vulogov Date: Thu, 18 Feb 2016 13:51:47 -0700 Subject: [PATCH] Adjustment for a newer version of the Cython and Zabbix 3.0 --- src/BUILD.sh | 2 +- src/zlm_python.pyx | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) mode change 100644 => 100755 src/zlm_python.pyx diff --git a/src/BUILD.sh b/src/BUILD.sh index 6cec997..36568b7 100755 --- a/src/BUILD.sh +++ b/src/BUILD.sh @@ -20,7 +20,7 @@ if [ -z "$PY_LIB" ]; then exit 1 fi -export ZBX_DIR=`find ../.. -type d -name zabbix-2.*|head -1` +export ZBX_DIR=`find ../.. -type d -name zabbix-*|head -1` if [ -z "$ZBX_DIR" ]; then echo "No Zabbix source tree found in $HOME" exit 1 diff --git a/src/zlm_python.pyx b/src/zlm_python.pyx old mode 100644 new mode 100755 index 30b943d..02343b5 --- a/src/zlm_python.pyx +++ b/src/zlm_python.pyx @@ -447,4 +447,3 @@ cdef public ZBX_finish(object ctx): log_warning("ZLM-python(Shutdown): Doing so.") ctx["m"].shutdown() log_warning("ZLM-python(Shutdown): CM manager is down.") - del ctx \ No newline at end of file