Merge pull request #353 from afh/pull/typo
Correct no-python error messages
This commit is contained in:
commit
aea86b5a83
1 changed files with 2 additions and 2 deletions
|
|
@ -1245,13 +1245,13 @@ void instance_t::python_directive(char * line)
|
||||||
void instance_t::import_directive(char *)
|
void instance_t::import_directive(char *)
|
||||||
{
|
{
|
||||||
throw_(parse_error,
|
throw_(parse_error,
|
||||||
_("'python' directive seen, but Python support is missing"));
|
_("'import' directive seen, but Python support is missing"));
|
||||||
}
|
}
|
||||||
|
|
||||||
void instance_t::python_directive(char *)
|
void instance_t::python_directive(char *)
|
||||||
{
|
{
|
||||||
throw_(parse_error,
|
throw_(parse_error,
|
||||||
_("'import' directive seen, but Python support is missing"));
|
_("'python' directive seen, but Python support is missing"));
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif // HAVE_BOOST_PYTHON
|
#endif // HAVE_BOOST_PYTHON
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue