summaryrefslogtreecommitdiffstats
path: root/source-builder/sb/options.py
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2013-04-13 14:30:22 +1000
committerChris Johns <chrisj@rtems.org>2013-04-13 14:30:22 +1000
commit667255cb77f283dec7c62a01de54896444a64727 (patch)
tree5eb71a70482201abf77936a50f9a1063a9b0ce04 /source-builder/sb/options.py
parentAdd setecting a snapshot package. (diff)
downloadrtems-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.py2
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)