[extensions-web] review: Fix file list for the first version



commit 684f0f7a74fd4fc74267121a28535abc9f415860
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Tue Feb 7 13:10:19 2012 -0500

    review: Fix file list for the first version

 sweettooth/review/views.py |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/sweettooth/review/views.py b/sweettooth/review/views.py
index aac80b1..ee5a194 100644
--- a/sweettooth/review/views.py
+++ b/sweettooth/review/views.py
@@ -163,7 +163,8 @@ def ajax_get_file_list_view(request, obj):
     new_filelist = set(get_filelist(new_zipfile, disallow_binary))
 
     if old_zipfile is None:
-        return dict(both=[],
+        return dict(unchanged=[],
+                    changed=[],
                     added=sorted(new_filelist),
                     deleted=[])
 



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