@@ -287,12 +287,12 @@ def write_changelog(repo_name, commit_link_prefix, git_revision):
287
287
with open (changelog_file , "a" ) as fp :
288
288
fp .write (f"Remote Module Changes Since { revision } \n " )
289
289
fp .write ("---------------------------------------------\n \n " )
290
- print ("Remote module:" )
290
+ print ("Updated remote module:" )
291
291
for remote in changed_remotes .split ():
292
292
module_name = remote .split ("/" )[- 1 ].split ("." )[0 ]
293
293
if module_name in ["SphinxExamples" , "CMakeLists" , "README" ]:
294
294
continue
295
- print ( module_name )
295
+ sys . stdout . write ( f"* { module_name } *, " )
296
296
os .chdir (itk_dir )
297
297
298
298
# The remote file could have been added or its name changed. Use the oldest
@@ -328,12 +328,16 @@ def write_changelog(repo_name, commit_link_prefix, git_revision):
328
328
update_recent_authors (f"{ remote_old_tag } ..{ remote_new_tag } " )
329
329
update_authors_with_email (f"{ remote_old_tag } ..{ remote_new_tag } " )
330
330
331
- log = subprocess .check_output (
332
- "git shortlog --format=%s:%h --topo-order --no-merges {0}..{1}" .format (
333
- remote_old_tag , remote_new_tag
334
- ),
335
- shell = True ,
336
- ).decode ("utf-8" )
331
+ try :
332
+ log = subprocess .check_output (
333
+ "git shortlog --format=%s:%h --topo-order --no-merges {0}..{1}" .format (
334
+ remote_old_tag , remote_new_tag
335
+ ),
336
+ shell = True ,
337
+ ).decode ("utf-8" )
338
+ except :
339
+ subprocess .CalledProcessError
340
+ continue
337
341
commit_link_prefix = remote_repo .replace (".git" , "" ) + "/commit/"
338
342
formatted_log = format_shortlog (log , commit_link_prefix )
339
343
with open (changelog_file , "a" ) as fp :
0 commit comments