The branch, v4-0-test has been updated
       via  19d0560464304f79224a946278105edafb285453 (commit)
      from  cae61e32e5b61a02c2986b74bd1d7e58460b1e80 (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v4-0-test


- Log -----------------------------------------------------------------
commit 19d0560464304f79224a946278105edafb285453
Author: Jelmer Vernooij <[EMAIL PROTECTED]>
Date:   Tue Apr 8 15:18:24 2008 +0200

    Clearer names for singleton return types.

-----------------------------------------------------------------------

Summary of changes:
 source/pidl/lib/Parse/Pidl/Samba4/Python.pm |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source/pidl/lib/Parse/Pidl/Samba4/Python.pm 
b/source/pidl/lib/Parse/Pidl/Samba4/Python.pm
index 2ab61e3..acaea99 100644
--- a/source/pidl/lib/Parse/Pidl/Samba4/Python.pm
+++ b/source/pidl/lib/Parse/Pidl/Samba4/Python.pm
@@ -369,7 +369,7 @@ sub PythonFunctionBody($$$)
                                $signature .= "$e->{NAME}, ";
                        } else {
                                $self->pidl("result = $py_name;");
-                               $signature .= "result";
+                               $signature .= $e->{NAME};
                        }
                }
        }
@@ -382,11 +382,10 @@ sub PythonFunctionBody($$$)
                my $conv = $self->ConvertObjectToPythonData("r", 
$fn->{RETURN_TYPE}, "r->out.result");
                if ($result_size > 1) {
                        $self->pidl("PyTuple_SetItem(result, $i, $conv);");
-                       $signature .= "result";
                } else {
                        $self->pidl("result = $conv;");
-                       $signature .= "result";
                }
+               $signature .= "result";
        }
 
        if (substr($signature, -2) eq ", ") {


-- 
Samba Shared Repository

Reply via email to