summarylogtreecommitdiffstats
path: root/call_PyErr_Clear_if_no_such_attribute.patch
diff options
context:
space:
mode:
authorKonstantin Gizdov2016-11-15 21:10:51 +0000
committerKonstantin Gizdov2016-11-15 21:16:10 +0000
commit946c223a10b17314c4dac36218da7b7c58c83c0c (patch)
treeb64a42d89d1a1d7b874abbf38c238a3d8b57567a /call_PyErr_Clear_if_no_such_attribute.patch
parenteb3938226a2f70877e4f571f6aabfbfd00028bb3 (diff)
downloadaur-946c223a10b17314c4dac36218da7b7c58c83c0c.tar.gz
updated to 6.08.00
Diffstat (limited to 'call_PyErr_Clear_if_no_such_attribute.patch')
-rw-r--r--call_PyErr_Clear_if_no_such_attribute.patch16
1 files changed, 0 insertions, 16 deletions
diff --git a/call_PyErr_Clear_if_no_such_attribute.patch b/call_PyErr_Clear_if_no_such_attribute.patch
deleted file mode 100644
index c1c401562a01..000000000000
--- a/call_PyErr_Clear_if_no_such_attribute.patch
+++ /dev/null
@@ -1,16 +0,0 @@
-diff --git a/bindings/pyroot/src/Utility.cxx b/bindings/pyroot/src/Utility.cxx
-index ffeae8e..d3ba063 100644
---- a/bindings/pyroot/src/Utility.cxx
-+++ b/bindings/pyroot/src/Utility.cxx
-@@ -219,8 +219,10 @@ Bool_t PyROOT::Utility::AddToClass(
- Bool_t PyROOT::Utility::AddToClass( PyObject* pyclass, const char* label, const char* func )
- {
- PyObject* pyfunc = PyObject_GetAttrString( pyclass, const_cast< char* >( func ) );
-- if ( ! pyfunc )
-+ if ( ! pyfunc ) {
-+ PyErr_Clear();
- return kFALSE;
-+ }
-
- Bool_t isOk = PyObject_SetAttrString( pyclass, const_cast< char* >( label ), pyfunc ) == 0;
-