[SCM] WebKit Debian packaging branch, debian/experimental, updated. upstream/1.3.3-9427-gc2be6fc
eric at webkit.org
eric at webkit.org
Wed Dec 22 13:50:52 UTC 2010
The following commit has been merged in the debian/experimental branch:
commit 5b6c7dbbbd406d9ec29132708d1a13cad09fa0ce
Author: eric at webkit.org <eric at webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date: Tue Sep 28 06:04:40 2010 +0000
2010-09-27 Eric Seidel <eric at webkit.org>
Unreviewed. Fixing 500 error seen in the status server.
It turns out that a = b = []; b.append(1); then a[0] will be 1!
This should have been obvious to me, I guess, but it was not what I was expecting.
* QueueStatusServer/model/activeworkitems.py:
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@68491 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/WebKitTools/ChangeLog b/WebKitTools/ChangeLog
index db441cf..581e470 100644
--- a/WebKitTools/ChangeLog
+++ b/WebKitTools/ChangeLog
@@ -1,3 +1,12 @@
+2010-09-27 Eric Seidel <eric at webkit.org>
+
+ Unreviewed. Fixing 500 error seen in the status server.
+
+ It turns out that a = b = []; b.append(1); then a[0] will be 1!
+ This should have been obvious to me, I guess, but it was not what I was expecting.
+
+ * QueueStatusServer/model/activeworkitems.py:
+
2010-09-27 Adam Barth <abarth at webkit.org>
Reviewed by Eric Seidel.
diff --git a/WebKitTools/QueueStatusServer/model/activeworkitems.py b/WebKitTools/QueueStatusServer/model/activeworkitems.py
index 496f900..a244c7d 100644
--- a/WebKitTools/QueueStatusServer/model/activeworkitems.py
+++ b/WebKitTools/QueueStatusServer/model/activeworkitems.py
@@ -48,7 +48,8 @@ class ActiveWorkItems(db.Model):
# db.Model does not tuples, we have to make lists.
self.item_ids, self.item_dates = map(list, zip(*pairs))
else:
- self.item_ids = self.item_dates = []
+ self.item_ids = []
+ self.item_dates = []
def _append_item_time_pair(self, pair):
self.item_ids.append(pair[0])
--
WebKit Debian packaging
More information about the Pkg-webkit-commits
mailing list