[extensions-web] extensions: Remove unused template parameter



commit a44ad75ef076210884cf5e934711be270e495377
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Thu Apr 26 02:10:52 2012 -0400

    extensions: Remove unused template parameter

 sweettooth/extensions/views.py |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/sweettooth/extensions/views.py b/sweettooth/extensions/views.py
index 8161efa..eb3a8bd 100644
--- a/sweettooth/extensions/views.py
+++ b/sweettooth/extensions/views.py
@@ -255,8 +255,7 @@ def extension_version_view(request, obj, **kwargs):
                    extension = extension,
                    shell_version_map = json.dumps(shell_version_map),
                    is_visible = status in models.VISIBLE_STATUSES,
-                   is_rejected = status in models.REJECTED_STATUSES,
-                   status = status)
+                   is_rejected = status in models.REJECTED_STATUSES)
 
     if extension.latest_version is not None:
         context['old_version'] = version.version < extension.latest_version.version



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]