From 809f4f1c1b59a01820f8d259306857cb42ef8ca8 Mon Sep 17 00:00:00 2001 Message-Id: <809f4f1c1b59a01820f8d259306857cb42ef8ca8.1747011919.git.mdw@distorted.org.uk> From: Mark Wooding Date: Thu, 20 Mar 2008 23:12:12 +0000 Subject: [PATCH] Modify 'series' to use '#' instead of '|' Organization: Straylight/Edgeware From: Catalin Marinas This is useful if the output is dumped to a file which is later used for commands like 'float'. The text after '#' is considered a comment and ignored. Signed-off-by: Catalin Marinas --- stgit/commands/series.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stgit/commands/series.py b/stgit/commands/series.py index 3c0816e..e3467cc 100644 --- a/stgit/commands/series.py +++ b/stgit/commands/series.py @@ -100,9 +100,9 @@ def __print_patch(patch, branch_str, prefix, empty_prefix, length, options): patch_str = patch_str.ljust(length) if options.description: - out.stdout(prefix + patch_str + ' | ' + __get_description(patch)) + out.stdout(prefix + patch_str + ' # ' + __get_description(patch)) elif options.author: - out.stdout(prefix + patch_str + ' | ' + __get_author(patch)) + out.stdout(prefix + patch_str + ' # ' + __get_author(patch)) else: out.stdout(prefix + patch_str) -- [mdw]