[extensions-web: 64/75] Remove a silly error
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [extensions-web: 64/75] Remove a silly error
- Date: Fri, 23 Sep 2011 03:19:48 +0000 (UTC)
commit c64a72cd857adae33b7ba221af04973ec6b4a366
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Thu Sep 22 16:23:55 2011 -0400
Remove a silly error
list has extend, dict has update
sheep go to heaven, goats go to hell
sweettooth/review/views.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/sweettooth/review/views.py b/sweettooth/review/views.py
index 048426f..e544b6d 100644
--- a/sweettooth/review/views.py
+++ b/sweettooth/review/views.py
@@ -109,7 +109,7 @@ class ReviewVersionView(DetailView):
# Other reviews on the same version
previous_reviews = self.object.reviews
- context.extend(dict(previous_versions=previous_versions,
+ context.update(dict(previous_versions=previous_versions,
previous_reviews=previous_reviews))
return context
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]