fix bug in pr774, improve whitespaces

This commit is contained in:
wmayer
2017-06-19 13:32:27 +02:00
parent c3c94e8698
commit 6e1a6d8310
2 changed files with 16 additions and 16 deletions

View File

@@ -827,7 +827,6 @@ PyObject* SketchObjectPy::extend(PyObject *args)
{
double increment;
int endPoint;
int GeoId;
if (PyArg_ParseTuple(args, "idi", &GeoId, &increment, &endPoint)) {
@@ -837,10 +836,12 @@ PyObject* SketchObjectPy::extend(PyObject *args)
PyErr_SetString(PyExc_ValueError, str.str().c_str());
return 0;
}
Py_Return;
}
Py_Return;
PyErr_SetString(PyExc_TypeError, "extend() method accepts:\n"
"-- int,float,int\n");
"-- int,float,int\n");
return 0;
}
PyObject* SketchObjectPy::addSymmetric(PyObject *args)