summaryrefslogtreecommitdiffstats
path: root/source-builder/sb/reports.py
diff options
context:
space:
mode:
authorGedare Bloom <gedare@rtems.org>2020-04-01 21:55:39 -0600
committerGedare Bloom <gedare@rtems.org>2020-04-01 21:55:39 -0600
commit54e08b85809969220cbb3d2a699987bf859017e6 (patch)
tree39fb152f9e7f1188b2678bf0a79f12f3af0fe263 /source-builder/sb/reports.py
parentrtems/libbsd: Update to the latest 5-freebsd12 branch head. (diff)
downloadrtems-source-builder-54e08b85809969220cbb3d2a699987bf859017e6.tar.bz2
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.
Diffstat (limited to '')
-rw-r--r--source-builder/sb/reports.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/source-builder/sb/reports.py b/source-builder/sb/reports.py
index 86a4c3a..ab20671 100644
--- a/source-builder/sb/reports.py
+++ b/source-builder/sb/reports.py
@@ -934,8 +934,6 @@ def run(args):
raise error.general('config file not found: %s' % (_config))
r.create(config, outname)
del r
- else:
- raise error.general('invalid config type: %s' % (config))
except error.general as gerr:
print(gerr)
sys.exit(1)