Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1529)

Unified Diff: grit_info.py

Issue 11968053: Sort GritSourceFiles() output. (Closed) Base URL: https://grit-i18n.googlecode.com/svn/trunk
Patch Set: Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: grit_info.py
diff --git a/grit_info.py b/grit_info.py
index 3336d4aa2282b08ffc31485f2b2c1125389c47cf..75215ae9e53364c834e4e77820a477dc12f6f86e 100755
--- a/grit_info.py
+++ b/grit_info.py
@@ -59,7 +59,7 @@ def GritSourceFiles():
grit_src = [os.path.join(root, f) for f in filenames
if f.endswith('.py')]
files.extend(grit_src)
- return files
+ return sorted(files)
def Inputs(filename, defines, ids_file):
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698