path: root/xlators/lib/src/libxlator.h
diff options
authorAravinda VK <>2019-06-14 16:11:37 +0530
committerAravinda VK <>2019-06-14 11:35:43 +0000
commit65e3624091e895ca32cd91468552589f34d17595 (patch)
treed4d3140b8cf1110fdf3cd1e8954c17ae9e07b8fc /xlators/lib/src/libxlator.h
parent6eaa561526c340c48b12f0cf149c6c5a2903d751 (diff)
eventsapi: Fix Exception class for Python3
Python2 exception provides message attribute for custom exceptions. But it is not available in Python3. Add init method for custom exception to handle the same. Original crash(IndexError reported in the bug) was fixed with But that patch only works in Python2 and fails in Python3 since Exception in Python 3 doesn't have "message" attribute. Fixes: bz#1573226 Change-Id: If9117048f9ff0615f5da1880075ec12c0ff4855e Signed-off-by: Aravinda VK <>
Diffstat (limited to 'xlators/lib/src/libxlator.h')
0 files changed, 0 insertions, 0 deletions