You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/games-rpg/adonthell/files/adonthell-0.3.5-format.patch

12 lines
320 B

--- src/py_adonthell_wrap.cc.old 2014-10-20 14:21:57.495642785 +0200
+++ src/py_adonthell_wrap.cc 2014-10-20 14:22:35.019293237 +0200
@@ -867,7 +867,7 @@
Py_DECREF(old_str);
Py_DECREF(value);
} else {
- PyErr_Format(PyExc_RuntimeError, mesg);
+ PyErr_Format(PyExc_RuntimeError, "%s", mesg);
}
}