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 re
|
||||||
import sys
|
import sys
|
||||||
|
|
||||||
import defaults
|
try:
|
||||||
import error
|
import defaults
|
||||||
import execute
|
import error
|
||||||
import log
|
import execute
|
||||||
import path
|
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):
|
def _check_bool(value):
|
||||||
if value.isdigit():
|
if value.isdigit():
|
||||||
|
@ -28,12 +28,20 @@ import glob
|
|||||||
import operator
|
import operator
|
||||||
import os
|
import os
|
||||||
|
|
||||||
import build
|
try:
|
||||||
import check
|
import build
|
||||||
import defaults
|
import check
|
||||||
import error
|
import defaults
|
||||||
import log
|
import error
|
||||||
import path
|
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.
|
# Version of RTEMS Source Builder Set Builder.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user