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):
296
296
class InvalidReleaseTargetException (Exception ):
297
297
pass
298
298
299
+ class NoValidToolchainException (Exception ):
300
+ """A class representing no valid toolchain configurations found on
301
+ the system"""
302
+ pass
303
+
299
304
def split_path (path ):
300
305
"""spilt a file name into it's directory name, base name, and extension
301
306
@@ -597,3 +602,16 @@ def generate_update_filename(name, target):
597
602
name ,
598
603
getattr (target , "OUTPUT_EXT_UPDATE" , "bin" )
599
604
)
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