[SCM] WebKit Debian packaging branch, webkit-1.1, updated. upstream/1.1.19-706-ge5415e9

abarth at webkit.org abarth at webkit.org
Thu Feb 4 21:25:28 UTC 2010


The following commit has been merged in the webkit-1.1 branch:
commit 24f55672cca78666a0ecb19ce8acb827029858ee
Author: abarth at webkit.org <abarth at webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Sat Jan 23 00:06:53 2010 +0000

    2010-01-22  Adam Barth  <abarth at webkit.org>
    
            Unreviewed.  Don't call seek on a NoneType.
    
            * Scripts/webkitpy/statusserver.py:
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@53731 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/WebKitTools/ChangeLog b/WebKitTools/ChangeLog
index 3cf80bc..73c642b 100644
--- a/WebKitTools/ChangeLog
+++ b/WebKitTools/ChangeLog
@@ -1,3 +1,9 @@
+2010-01-22  Adam Barth  <abarth at webkit.org>
+
+        Unreviewed.  Don't call seek on a NoneType.
+
+        * Scripts/webkitpy/statusserver.py:
+
 2010-01-22  Petri Latvala  <petri.latvala at nomovok.com>
 
         Reviewed by David Levin.
diff --git a/WebKitTools/Scripts/webkitpy/statusserver.py b/WebKitTools/Scripts/webkitpy/statusserver.py
index cb6fd26..ff0ddfa 100644
--- a/WebKitTools/Scripts/webkitpy/statusserver.py
+++ b/WebKitTools/Scripts/webkitpy/statusserver.py
@@ -65,8 +65,9 @@ class StatusServer:
         self.browser.add_file(results_file, "text/plain", "results.txt", 'results_file')
 
     def _post_to_server(self, queue_name, status, patch, results_file):
-        # We might need to re-wind the file if we've already tried to post it.
-        results_file.seek(0)
+        if results_file:
+            # We might need to re-wind the file if we've already tried to post it.
+            results_file.seek(0)
 
         update_status_url = "%s/update-status" % self.url
         self.browser.open(update_status_url)

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list