r43753 - /scripts/KGB/client/KGB_sendcommit

dmn at users.alioth.debian.org dmn at users.alioth.debian.org
Sun Sep 6 07:44:13 UTC 2009


Author: dmn
Date: Sun Sep  6 07:43:13 2009
New Revision: 43753

URL: http://svn.debian.org/wsvn/?sc=1&rev=43753
Log:
udef branch when ignored

apparently it is fine to transmit undef for SOAP values

Modified:
    scripts/KGB/client/KGB_sendcommit

Modified: scripts/KGB/client/KGB_sendcommit
URL: http://svn.debian.org/wsvn/scripts/KGB/client/KGB_sendcommit?rev=43753&op=diff
==============================================================================
--- scripts/KGB/client/KGB_sendcommit (original)
+++ scripts/KGB/client/KGB_sendcommit Sun Sep  6 07:43:13 2009
@@ -189,7 +189,7 @@
         }
     }
 
-    $branch = ''
+    $branch = undef
         if $branch and $ignore_branch and $branch eq $ignore_branch;
 }
 #utf8::encode($author);
@@ -220,8 +220,8 @@
                            @changed ) ],
                     SOAP::Data->type(string => $log),
                     SOAP::Data->type(string => $author),
-                    defined($branch) ? SOAP::Data->type( string => $branch) : (),
-                    defined($module) ? SOAP::Data->type( string => $module) : (),
+                    SOAP::Data->type( string => $branch),
+                    SOAP::Data->type( string => $module),
                     ]);
 
     if( $res->fault ) {




More information about the Pkg-perl-cvs-commits mailing list