diff options
author | Ben Brown <ben.brown@codethink.co.uk> | 2017-03-30 14:20:33 +0100 |
---|---|---|
committer | devcurmudgeon <paul.sherwood@codethink.co.uk> | 2017-04-04 09:47:27 +0000 |
commit | 02317d8a8f06d640afb5bfcb1ae6c7240e3f23ff (patch) | |
tree | db7b42d0b1774e6cd56535d076253c11773b63d1 | |
parent | 0e7f85329c6b4322ba9f4db68396b48de8a8b41a (diff) | |
download | ybd-jonathan/rpm-expand-fixes.tar.gz |
Strip whitespace from `rpm --eval` process outputjonathan/rpm-expand-fixes
-rw-r--r-- | ybd/rpm.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -86,7 +86,7 @@ def expand_macro(system, dn, text): ' --eval=%s' % text) env_vars = sandbox.env_vars_for_build(system) _, output, _ = sandbox.run_sandboxed(system, command, env_vars) - return output + return output.strip() def is_main_package(system, dn, package): |