commit | 9fb29ce123ad26bf1497144a40e337aff8c51ecb | [log] [tgz] |
---|---|---|
author | Shawn O. Pearce <sop@google.com> | Thu Jun 04 20:41:02 2009 -0700 |
committer | Shawn O. Pearce <sop@google.com> | Thu Jun 04 20:41:26 2009 -0700 |
tree | f23b28c647529b40532f2e5bb7a39c7b3af7ec81 | |
parent | 3a68bb4c7f50897c0dbca59ca47aef463a9ad8d0 [diff] [blame] |
sync: Keep the project.list file sorted Its easier to locate an entry visually if the file is sorted. Signed-off-by: Shawn O. Pearce <sop@google.com>
diff --git a/subcmds/sync.py b/subcmds/sync.py index 6bccbb0..bd07dd9 100644 --- a/subcmds/sync.py +++ b/subcmds/sync.py
@@ -166,6 +166,7 @@ break dir = os.path.dirname(dir) + new_project_paths.sort() fd = open(file_path, 'w') try: fd.write('\n'.join(new_project_paths))