diff options
author | Ben Brown <ben.brown@codethink.co.uk> | 2017-10-13 13:15:20 +0100 |
---|---|---|
committer | Ben Brown <ben.brown@codethink.co.uk> | 2017-10-13 13:15:20 +0100 |
commit | 0072f777e53f3c60e4bf424b817bfbcae2847805 (patch) | |
tree | ff4fbb85af7802ecc1ec71f1b01db8c584d2fd2e | |
parent | 13dec1257b947c864788764b1f53b716502d2302 (diff) | |
download | ybd-0072f777e53f3c60e4bf424b817bfbcae2847805.tar.gz |
Print which file is used should multiple files be matched
-rw-r--r-- | ybd/rpm.py | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -365,6 +365,7 @@ def stage_prebuilts(dn, system): exit = 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]) os.rename(rpm_glob[0], cache_path) |