summaryrefslogtreecommitdiff
path: root/source4/pidl
diff options
context:
space:
mode:
Diffstat (limited to 'source4/pidl')
-rw-r--r--source4/pidl/lib/Parse/Pidl/Samba4/Python.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/pidl/lib/Parse/Pidl/Samba4/Python.pm b/source4/pidl/lib/Parse/Pidl/Samba4/Python.pm
index 0792e4fea3..720d066360 100644
--- a/source4/pidl/lib/Parse/Pidl/Samba4/Python.pm
+++ b/source4/pidl/lib/Parse/Pidl/Samba4/Python.pm
@@ -499,7 +499,7 @@ sub PythonFunctionPackIn($$$)
$self->pidl("}");
$self->pidl("");
- my $env = GenerateFunctionOutEnv($fn, "r->");
+ my $env = GenerateFunctionInEnv($fn, "r->");
my $fail = "return false;";
foreach my $e (@{$fn->{ELEMENTS}}) {