File tree Expand file tree Collapse file tree 1 file changed +10
-11
lines changed
Expand file tree Collapse file tree 1 file changed +10
-11
lines changed Original file line number Diff line number Diff line change @@ -1148,17 +1148,16 @@ def _generate_upload_archetype_catalog(
11481148 # Re-render the result of our archetype merge /
11491149 # un-merge to the local file, in preparation for
11501150 # upload.
1151- with open (local , 'wb' ) as f :
1152- content = MavenArchetypeCatalog (remote_archetypes )\
1153- .generate_meta_file_content ()
1154- try :
1155- overwrite_file (local , content )
1156- except FileNotFoundError as e :
1157- logger .error (
1158- "Error: Can not create file %s because of some missing folders" ,
1159- local ,
1160- )
1161- raise e
1151+ content = MavenArchetypeCatalog (remote_archetypes )\
1152+ .generate_meta_file_content ()
1153+ try :
1154+ overwrite_file (local , content )
1155+ except FileNotFoundError as e :
1156+ logger .error (
1157+ "Error: Can not create file %s because of some missing folders" ,
1158+ local ,
1159+ )
1160+ raise e
11621161 __gen_all_digest_files (local )
11631162 return True
11641163
You can’t perform that action at this time.
0 commit comments