File tree Expand file tree Collapse file tree 1 file changed +6
-7
lines changed
Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Original file line number Diff line number Diff line change 1212
1313
1414def _get_package_sign_error (pkg_list ):
15- signs = []
15+ conan_exception = ConanException ("There were some errors in the package signing process. "
16+ "Please check the output." )
1617 for rref , packages in pkg_list .items ():
1718 recipe_bundle = pkg_list .recipe_dict (rref )
1819 if recipe_bundle :
19- signs .append (recipe_bundle .get ("pkgsign_error" ))
20+ if recipe_bundle .get ("pkgsign_error" ):
21+ return conan_exception
2022 for pref in packages :
2123 pkg_bundle = pkg_list .package_dict (pref )
2224 if pkg_bundle :
23- signs .append (pkg_bundle .get ("pkgsign_error" ))
24-
25- if any ((sign is not None ) for sign in signs ):
26- return ConanException ("There were some errors in the package signing process. "
27- "Please check the output." )
25+ if pkg_bundle .get ("pkgsign_error" ):
26+ return conan_exception
2827 return None
2928
3029
You can’t perform that action at this time.
0 commit comments