##// END OF EJS Templates
hg-cpython: fix new occuring TypeError...
Raphaël Gomès -
r48086:33e7508b default
parent child Browse files
Show More
@@ -469,7 +469,10 b' fn revlog_error(py: Python) -> PyErr {'
469 .and_then(|m| m.get(py, "RevlogError"))
469 .and_then(|m| m.get(py, "RevlogError"))
470 {
470 {
471 Err(e) => e,
471 Err(e) => e,
472 Ok(cls) => PyErr::from_instance(py, cls),
472 Ok(cls) => PyErr::from_instance(
473 py,
474 cls.call(py, (py.None(),), None).ok().into_py_object(py),
475 ),
473 }
476 }
474 }
477 }
475
478
General Comments 0
You need to be logged in to leave comments. Login now