File tree Expand file tree Collapse file tree 1 file changed +18
-0
lines changed
Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -296,6 +296,11 @@ class NotSupportedException(Exception):
296296class InvalidReleaseTargetException (Exception ):
297297 pass
298298
299+ class NoValidToolchainException (Exception ):
300+ """A class representing no valid toolchain configurations found on
301+ the system"""
302+ pass
303+
299304def split_path (path ):
300305 """spilt a file name into it's directory name, base name, and extension
301306
@@ -597,3 +602,16 @@ def generate_update_filename(name, target):
597602 name ,
598603 getattr (target , "OUTPUT_EXT_UPDATE" , "bin" )
599604 )
605+
606+ def print_end_warnings (end_warnings ):
607+ """ Print a formatted list of warnings
608+
609+ Positional arguments:
610+ end_warnings - A list of warnings (strings) to print
611+ """
612+ if end_warnings :
613+ warning_separator = "-" * 60
614+ print (warning_separator )
615+ for end_warning in end_warnings :
616+ print (end_warning )
617+ print (warning_separator )
You can’t perform that action at this time.
0 commit comments