[extensions-web] review: Fix diff view



commit 969f9f7e7f9bf782e475877544ef493af75fb8f7
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Mon Apr 2 10:53:22 2012 -0400

    review: Fix diff view
    
    I forgot to switch around a few params and accidentally broke the review UI. Whoops!

 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 a36ab02..75cad4c 100644
--- a/sweettooth/review/views.py
+++ b/sweettooth/review/views.py
@@ -207,7 +207,7 @@ def ajax_get_file_diff_view(request, version):
     if file_extension in BINARY_TYPES:
         return None
 
-    old_zipfile, new_zipfile = get_zipfiles(version, get_old_version(version))
+    old_zipfile, new_zipfile = get_zipfiles(get_old_version(version), version)
 
     new_filelist = set(new_zipfile.namelist())
     old_filelist = set(old_zipfile.namelist())



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