[extensions-web] grrr....



commit efae28de1b0499c30331c05c70d288bcbc51974c
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Sat Nov 19 16:29:13 2011 -0500

    grrr....

 sweettooth/review/views.py |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/sweettooth/review/views.py b/sweettooth/review/views.py
index 5ab8486..35a4b93 100644
--- a/sweettooth/review/views.py
+++ b/sweettooth/review/views.py
@@ -129,9 +129,9 @@ def get_diff(old_zipfile, new_zipfile, filename, highlight):
 
     old_htmls, new_htmls = get_chunks_html(oldlines, newlines)
     return dict(old=dict(html='\n'.join(old_htmls),
-                         num_lines=len(split_lines(old_htmls))),
+                         num_lines=len(old_htmls)),
                 new=dict(html='\n'.join(new_htmls),
-                         num_lines=len(split_lines(new_htmls))))
+                         num_lines=len(new_htmls)))
 
 @ajax_view
 @model_view(models.ExtensionVersion)



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