fixed typo

This commit is contained in:
Nico von Geyso
2012-11-22 16:33:40 +01:00
parent 6b3607cf95
commit 20fb789e11

View File

@@ -113,7 +113,7 @@ PyObject* Error_set_str(int err, const char *str)
}
error = giterr_last();
if (error == NULL) //exptected error - no error msg set
if (error == NULL) //expected error - no error msg set
return PyErr_Format(Error_type(err), "%s", str);
return PyErr_Format(Error_type(err), "%s: %s", str, error->message);