From a5975709fd054e9664d6d7a8cddff200d4c3facd Mon Sep 17 00:00:00 2001 From: Catalin Marinas Date: Thu, 20 Mar 2008 23:12:33 +0000 Subject: [PATCH] Modify 'series' to use '#' instead of '|' 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) -- 2.11.0