From: Barış Metin Date: Mon, 3 Jan 2011 15:16:20 +0000 (+0100) Subject: fix wiki formatting X-Git-Tag: 5.0-rc18~134^2 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=5c7d10fa224c309e742ea6b0411a755124ba48bc;p=build.git fix wiki formatting --- diff --git a/module-tools.py b/module-tools.py index b2db88e0..a1b628dc 100755 --- a/module-tools.py +++ b/module-tools.py @@ -1257,6 +1257,9 @@ def release_changelog(options, buildtag_old, buildtag_new): return tagfile = "%s-tags.mk" % tagfile + print '----' + print '----' + print '----' print '= build tag %s to %s =' % (buildtag_old, buildtag_new) print '== distro %s (%s to %s) ==' % (tagfile, buildtag_old, buildtag_new) @@ -1264,19 +1267,18 @@ def release_changelog(options, buildtag_old, buildtag_new): build.init_module_dir() first = build.get_modules(tagfile) - print '* from', buildtag_old, build.repository.gitweb() + print ' * from', buildtag_old, build.repository.gitweb() build = Build("build@%s" % buildtag_new, options) build.init_module_dir() second = build.get_modules(tagfile) - print '* to', buildtag_new, build.repository.gitweb() + print ' * to', buildtag_new, build.repository.gitweb() diff, new_modules, removed_modules = modules_diff(first, second) def get_module(name, tag): - print name, tag if not tag or tag == "trunk": return Module("%s" % (module), options) else: @@ -1292,9 +1294,9 @@ def release_changelog(options, buildtag_old, buildtag_new): m.init_module_dir() if m.repository.type == "svn": - print '* from', first, m.repository.url() + print ' * from', first, m.repository.url() else: - print '* from', first, m.repository.gitweb() + print ' * from', first, m.repository.gitweb() specfile = m.main_specname() (tmpfd, tmpfile) = tempfile.mkstemp() @@ -1305,9 +1307,9 @@ def release_changelog(options, buildtag_old, buildtag_new): specfile = m.main_specname() if m.repository.type == "svn": - print '* to', second, m.repository.url() + print ' * to', second, m.repository.url() else: - print '* to', second, m.repository.gitweb() + print ' * to', second, m.repository.gitweb() print '{{{' os.system("diff -u %s %s" % (tmpfile, specfile))