summaryrefslogtreecommitdiffstats
path: root/scripts/rfr
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/rfr')
-rwxr-xr-xscripts/rfr4
1 files changed, 1 insertions, 3 deletions
diff --git a/scripts/rfr b/scripts/rfr
index 1b12a9ce..723fde51 100755
--- a/scripts/rfr
+++ b/scripts/rfr
@@ -174,7 +174,6 @@ Thanks!
174 cmt_template = """ 174 cmt_template = """
175+---------------------------------------- 175+----------------------------------------
176| {url} 176| {url}
177| {subject}
178| Author: {author} 177| Author: {author}
179 178
180{cmtmsg}""" 179{cmtmsg}"""
@@ -186,7 +185,6 @@ Thanks!
186 cmt_descriptions = '' 185 cmt_descriptions = ''
187 for c in commits_info: 186 for c in commits_info:
188 cmt_descriptions += " %s - %s\n" % (c['url'], c['subject']) 187 cmt_descriptions += " %s - %s\n" % (c['url'], c['subject'])
189 print(cmt_descriptions)
190 188
191 # Add new lines around the extra_message, if applicable. Otherwise we don't 189 # Add new lines around the extra_message, if applicable. Otherwise we don't
192 # want anything to show up for extra_message. 190 # want anything to show up for extra_message.
@@ -197,7 +195,7 @@ Thanks!
197 195
198 cmt_verbose = '' 196 cmt_verbose = ''
199 for c in commits_info: 197 for c in commits_info:
200 cmt_verbose += cmt_template.format(url=c['url'], subject=c['subject'], 198 cmt_verbose += cmt_template.format(url=c['url'],
201 author=c['owner']['name'], 199 author=c['owner']['name'],
202 cmtmsg=indent_lines( 200 cmtmsg=indent_lines(
203 c['commitMessage'], ' ')) 201 c['commitMessage'], ' '))