File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -862,10 +862,9 @@ def _generate_upload_archetype_catalog(
862862 available in the bucket. Merge (or unmerge) these catalogs and
863863 return a boolean indicating whether the local file should be uploaded.
864864 """
865+ remote = ARCHETYPE_CATALOG_FILENAME
865866 if prefix :
866867 remote = os .path .join (prefix , ARCHETYPE_CATALOG_FILENAME )
867- else :
868- remote = ARCHETYPE_CATALOG_FILENAME
869868 local = os .path .join (root , ARCHETYPE_CATALOG_FILENAME )
870869 # As the local archetype will be overwrittern later, we must keep
871870 # a cache of the original local for multi-targets support
@@ -884,7 +883,7 @@ def _generate_upload_archetype_catalog(
884883 logger .error (
885884 "Error: Can not generate archtype-catalog.xml due to: %s" , e
886885 )
887- return 0
886+ return False
888887 if not existed :
889888 __gen_all_digest_files (local )
890889 # If there is no catalog in the bucket, just upload what we have locally
You can’t perform that action at this time.
0 commit comments