mirror of
https://git.rtems.org/rtems-source-builder
synced 2024-10-09 07:15:10 +08:00
Catch any importing errors.
This commit is contained in:
parent
26595c7b29
commit
c18c4b6d33
@ -29,11 +29,18 @@ import os
|
||||
import re
|
||||
import sys
|
||||
|
||||
try:
|
||||
import defaults
|
||||
import error
|
||||
import execute
|
||||
import log
|
||||
import path
|
||||
except KeyboardInterrupt:
|
||||
print 'user terminated'
|
||||
sys.exit(1)
|
||||
except:
|
||||
print 'unknown application load error'
|
||||
sys.exit(1)
|
||||
|
||||
def _check_bool(value):
|
||||
if value.isdigit():
|
||||
|
@ -28,12 +28,20 @@ import glob
|
||||
import operator
|
||||
import os
|
||||
|
||||
try:
|
||||
import build
|
||||
import check
|
||||
import defaults
|
||||
import error
|
||||
import log
|
||||
import path
|
||||
import reports
|
||||
except KeyboardInterrupt:
|
||||
print 'user terminated'
|
||||
sys.exit(1)
|
||||
except:
|
||||
print 'unknown application load error'
|
||||
sys.exit(1)
|
||||
|
||||
#
|
||||
# Version of RTEMS Source Builder Set Builder.
|
||||
|
Loading…
x
Reference in New Issue
Block a user