From: Thierry Parmentelat Date: Sat, 9 Jan 2010 07:40:34 +0000 (+0000) Subject: review tagsfiles in alphabetical order X-Git-Tag: 4.3-rc16~31 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=f9d25faae894fdeb654f2eb22cb8ae301c5396c4;p=build.git review tagsfiles in alphabetical order --- 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' :