Ticket #538: swig-2.0.2.diff

File swig-2.0.2.diff, 421 bytes (added by Dan, 14 years ago)
  • xapian-bindings/python/generate-python-exceptions

    diff --git a/xapian-bindings/python/generate-python-exceptions b/xapian-bindings/python/generate-python-exceptions
    index 70a74be..3c39d11 100644
    a b print FD <<'EOF';  
    152152    try {
    153153        $action
    154154    } catch (...) {
    155         SWIG_PYTHON_THREAD_END_ALLOW;
    156155        Xapian::SetPythonException();
    157156        SWIG_fail;
    158157    }