summaryrefslogtreecommitdiff
path: root/source4/pidl/lib/Parse/Pidl/Samba4/SWIG.pm
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2007-12-24 11:02:32 -0600
committerStefan Metzmacher <metze@samba.org>2007-12-26 11:57:03 -0600
commit9faf93c7b0e00edcdc3f535ea69fc2c1bb6eeeb3 (patch)
tree53b0990a32cfb77d988318e9704b8e34833e116a /source4/pidl/lib/Parse/Pidl/Samba4/SWIG.pm
parent5e574b2b940bf4d7e040409c6a7ceba14eece798 (diff)
downloadsamba-9faf93c7b0e00edcdc3f535ea69fc2c1bb6eeeb3.tar.gz
samba-9faf93c7b0e00edcdc3f535ea69fc2c1bb6eeeb3.tar.bz2
samba-9faf93c7b0e00edcdc3f535ea69fc2c1bb6eeeb3.zip
r26583: Throw a proper exception in the python code when tdb_open() fails, fix indentation in generated SWIG code from pidl.
(This used to be commit 4ff8f4e370d30bf6b0b2f548bca14a9b7e1317f6)
Diffstat (limited to 'source4/pidl/lib/Parse/Pidl/Samba4/SWIG.pm')
-rw-r--r--source4/pidl/lib/Parse/Pidl/Samba4/SWIG.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/pidl/lib/Parse/Pidl/Samba4/SWIG.pm b/source4/pidl/lib/Parse/Pidl/Samba4/SWIG.pm
index 58b52df8d3..14424cf260 100644
--- a/source4/pidl/lib/Parse/Pidl/Samba4/SWIG.pm
+++ b/source4/pidl/lib/Parse/Pidl/Samba4/SWIG.pm
@@ -105,7 +105,7 @@ sub ParseInterface($$)
pidl "";
pidl "status = dcerpc_$fn->{NAME}(\$self->pipe, mem_ctx, &r);";
pidl "if (NT_STATUS_IS_ERR(status)) {";
- pidl "\treturn status;";
+ indent; pidl "return status;"; deindent;
pidl "}";
pidl "";
pidl "/* Set out arguments */";