diff options
author | Ben Brown <ben.brown@codethink.co.uk> | 2017-10-17 10:31:31 +0100 |
---|---|---|
committer | Ben Brown <ben.brown@codethink.co.uk> | 2017-10-17 10:31:31 +0100 |
commit | 2cdc70d2654be3ec65376a32116630b7b8076654 (patch) | |
tree | fe9f120f89309be2ca106bebd226ab5fc0a2b2bd | |
parent | 97ac065bd946fb611407dbabe4bf642e2813568b (diff) | |
download | ybd-2cdc70d2654be3ec65376a32116630b7b8076654.tar.gz |
Fix config access, it is in the app module
-rw-r--r-- | ybd/rpm.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -362,7 +362,7 @@ def stage_prebuilts(dn, system): log(dn, 'Failed to find prebuilt rpm matching', package['path']) sys.exit(1) if len(rpm_glob) > 1: - exit = config.get('check-definitions') == 'exit' + exit = app.config.get('check-definitions') == 'exit' log(dn, 'WARNING: glob pattern %s matches multiple paths' % package['path'], exit=exit) log(dn, 'WARNING: Taking %s from glob match' % rpm_glob[0]) |