From f9d25faae894fdeb654f2eb22cb8ae301c5396c4 Mon Sep 17 00:00:00 2001 From: Thierry Parmentelat Date: Sat, 9 Jan 2010 07:40:34 +0000 Subject: [PATCH] review tagsfiles in alphabetical order --- module-tools.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/module-tools.py b/module-tools.py index c35cd136..7881b18c 100755 --- a/module-tools.py +++ b/module-tools.py @@ -855,8 +855,10 @@ Please write a changelog for this new tag in the section above tagsfiles=glob(build.edge_dir()+"/*-tags*.mk") tagsdict=dict( [ (x,'todo') for x in tagsfiles ] ) default_answer = 'y' + tagsfiles.sort() while True: - for (tagsfile,status) in tagsdict.iteritems(): + for tagsfile in tagsfiles: + status=tagsdict[tagsfile] basename=os.path.basename(tagsfile) print ".................... Dealing with %s"%basename while tagsdict[tagsfile] == 'todo' : -- 2.47.0