upload-wiki.pl |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit db935b234688a7d4690246e48530c3d3f99b5fe3
Author: Andras Timar <andras.ti...@collabora.com>
Date:   Thu Feb 20 14:33:45 2014 +0100

    use 'unless' instead of 'if'
    
    Change-Id: Ie40681e6f7097a1d9b2935e238cfb0ecfb840db4

diff --git a/upload-wiki.pl b/upload-wiki.pl
index 58de4fb..a42d809 100755
--- a/upload-wiki.pl
+++ b/upload-wiki.pl
@@ -136,7 +136,7 @@ sub upload_article {
 
     RETRY:
     print "Uploading page '$pagename'\n";
-    if ( $mw->edit( {
+    unless ( $mw->edit( {
             action => 'edit',
             title => $pagename,
             text => $text }, { skip_encoding => 1 } ) )
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to