Small typo in GDS driver Python wrapper error message.
This commit is contained in:
parent
81522e73a2
commit
aadd7744ee
|
@ -70,11 +70,11 @@ extern "C" {
|
||||||
if (IsPyCell(pyCell)) {
|
if (IsPyCell(pyCell)) {
|
||||||
Gds::save( PYCELL_O(pyCell) );
|
Gds::save( PYCELL_O(pyCell) );
|
||||||
} else {
|
} else {
|
||||||
PyErr_SetString( ConstructorError, "Gds.load(): Bad parameter type (not a Cell)." );
|
PyErr_SetString( ConstructorError, "Gds.save(): Bad parameter type (not a Cell)." );
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
PyErr_SetString( ConstructorError, "Gds.load(): Bad number of parameters." );
|
PyErr_SetString( ConstructorError, "Gds.save(): Bad number of parameters." );
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
HCATCH
|
HCATCH
|
||||||
|
|
Loading…
Reference in New Issue