X-Git-Url: https://git.distorted.org.uk/~mdw/stgit/blobdiff_plain/0f92637c75d03080d43a9b8a95527660d61d67a5..27ac2b7eee3cc39e29c470cd5b5889e93091d9be:/stgit/commands/export.py diff --git a/stgit/commands/export.py b/stgit/commands/export.py index 20d8f67..cafcbe3 100644 --- a/stgit/commands/export.py +++ b/stgit/commands/export.py @@ -79,8 +79,8 @@ def func(parser, options, args): dirname = 'patches-%s' % crt_series.get_branch() if not options.branch and git.local_changes(): - print 'Warning: local changes in the tree. ' \ - 'You might want to commit them first' + out.warn('Local changes in the tree;' + ' you might want to commit them first') if not options.stdout: if not os.path.isdir(dirname): @@ -166,9 +166,9 @@ def func(parser, options, args): f = open(pfile, 'w+') if options.stdout and num > 1: - print '-------------------------------------------------------------------------------' + print '-'*79 print patch.get_name() - print '-------------------------------------------------------------------------------' + print '-'*79 # write description f.write(descr)