mirror of
https://git.rtems.org/rtems-source-builder
synced 2024-10-09 07:15:10 +08:00
Add checksum support for downloaded files.
File download by http, ftp, pw support checksum. The %hash directive provides a means of setting a hash used to checksum the file. Files on disk or just downloaded are checked.
This commit is contained in:
@@ -82,7 +82,7 @@ def trace(text = os.linesep, log = None):
|
||||
|
||||
def warning(text = os.linesep, log = None):
|
||||
for l in text.replace(chr(13), '').splitlines():
|
||||
_output('warning: %s' % (l), log)
|
||||
notice('warning: %s' % (l), log)
|
||||
|
||||
def flush(log = None):
|
||||
if log:
|
||||
|
Reference in New Issue
Block a user