[extensions-web] Sort the review file list
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [extensions-web] Sort the review file list
- Date: Thu, 10 Nov 2011 21:03:40 +0000 (UTC)
commit b19665d53ee768bf1b0183fd62ab59bea0ea6a59
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Thu Nov 10 16:03:06 2011 -0500
Sort the review file list
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 e5916bc..5cea7dc 100644
--- a/sweettooth/review/views.py
+++ b/sweettooth/review/views.py
@@ -60,7 +60,7 @@ def ajax_get_files_view(request, obj):
# filename => { raw, html, filename }
files = []
- for filename in zipfile.namelist():
+ for filename in sorted(zipfile.namelist()):
raw = zipfile.open(filename, 'r').read()
base, extension = os.path.splitext(filename)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]