diff options
author | Chris Johns <chrisj@rtems.org> | 2013-04-13 14:30:22 +1000 |
---|---|---|
committer | Chris Johns <chrisj@rtems.org> | 2013-04-13 14:30:22 +1000 |
commit | 667255cb77f283dec7c62a01de54896444a64727 (patch) | |
tree | 5eb71a70482201abf77936a50f9a1063a9b0ce04 /source-builder/sb/options.py | |
parent | Add setecting a snapshot package. (diff) | |
download | rtems-source-builder-667255cb77f283dec7c62a01de54896444a64727.tar.bz2 |
Fix options bug when the macro file is not found.
Diffstat (limited to 'source-builder/sb/options.py')
-rw-r--r-- | source-builder/sb/options.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source-builder/sb/options.py b/source-builder/sb/options.py index 778a22f..220b836 100644 --- a/source-builder/sb/options.py +++ b/source-builder/sb/options.py @@ -250,7 +250,7 @@ class command_line: if um: checked = path.exists(um) if False in checked: - raise general.error('macro file not found: %s' % (um[um.index(False)])) + raise error.general('macro file not found: %s' % (um[checked.index(False)])) for m in um: self.defaults.load(m) |