[Skencil-devel] [Skencil-commits] r735 - skencil/branches/skencil-0.6/src/extensions/Pax
Bernhard Herzog
bh at intevation.de
Mon Sep 27 12:48:18 CEST 2010
scm-commit at wald.intevation.org writes:
> Modified: skencil/branches/skencil-0.6/src/extensions/Pax/paxmodule.c
> ===================================================================
> --- skencil/branches/skencil-0.6/src/extensions/Pax/paxmodule.c 2010-09-23 02:04:20 UTC (rev 734)
> +++ skencil/branches/skencil-0.6/src/extensions/Pax/paxmodule.c 2010-09-23 11:52:09 UTC (rev 735)
> @@ -177,13 +177,13 @@
> PyObject * obj;
> if (!object_registry)
> {
> - interp->result = "object_registry not initialized";
> + Tcl_SetResult(interp, "object_registry not initialized", TCL_VOLATILE);
> return TCL_ERROR;
> }
> obj = PyDict_GetItemString(object_registry, value);
> if (!obj)
> {
> - interp->result = "object not in registry";
> + Tcl_SetResult(interp, "object not in registry", TCL_VOLATILE);
> return TCL_ERROR;
> }
The indentation is inconsistent here. If it helps, maybe the C-files
should be converted to space-only indents too.
Bernhard
More information about the Skencil-devel
mailing list