mirror of
https://git.rtems.org/rtems-source-builder
synced 2024-10-09 07:15:10 +08:00
sb/reports.py: Remove spurious error check
The error path is taken when list-bsets or list-cfgs returns true (meaning it listed them). So the error is invalid.
This commit is contained in:
parent
26a0568087
commit
54e08b8580
@ -934,8 +934,6 @@ def run(args):
|
|||||||
raise error.general('config file not found: %s' % (_config))
|
raise error.general('config file not found: %s' % (_config))
|
||||||
r.create(config, outname)
|
r.create(config, outname)
|
||||||
del r
|
del r
|
||||||
else:
|
|
||||||
raise error.general('invalid config type: %s' % (config))
|
|
||||||
except error.general as gerr:
|
except error.general as gerr:
|
||||||
print(gerr)
|
print(gerr)
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user