This is an automated email from the git hooks/post-receive script.
nsoffer pushed a commit to branch master
in repository sanlock.
commit 1ff38e0e2cd7f4234c20e33ffeec3815da0df438
Author: Nir Soffer <nsoffer(a)redhat.com>
AuthorDate: Fri Jun 14 20:24:14 2019 +0300
python: Remove CPyChecker support
We don't use use this tool, lets remove old craft.
If someone wants to add this back it must have proper documentation and
integrated in the build system.
Signed-off-by: Nir Soffer <nsoffer(a)redhat.com>
---
python/sanlock.c | 18 ++----------------
1 file changed, 2 insertions(+), 16 deletions(-)
diff --git a/python/sanlock.c b/python/sanlock.c
index 7f0916a..7574141 100644
--- a/python/sanlock.c
+++ b/python/sanlock.c
@@ -16,27 +16,13 @@
#define __unused __attribute__ ((unused))
#endif
-#ifdef WITH_CPYCHECKER_SETS_EXCEPTION_ATTRIBUTE
-#define __sets_exception \
- __attribute__((cpychecker_sets_exception))
-#else
-#define __sets_exception
-#endif
-
-#ifdef WITH_CPYCHECKER_NEGATIVE_RESULT_SETS_EXCEPTION_ATTRIBUTE
-#define __neg_sets_exception \
- __attribute__((cpychecker_negative_result_sets_exception))
-#else
-#define __neg_sets_exception
-#endif
-
#define MODULE_NAME "sanlock"
#define BIND_ERROR -1000
/* Functions prototypes */
-static void __set_exception(int en, char *msg) __sets_exception;
-static int __parse_resource(PyObject *obj, struct sanlk_resource **res_ret)
__neg_sets_exception;
+static void __set_exception(int en, char *msg);
+static int __parse_resource(PyObject *obj, struct sanlk_resource **res_ret);
static void set_error(PyObject *exception, const char* format, PyObject* obj);
/* Sanlock module */
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
Show replies by date