diff options
author | Ben Brown <ben.brown@codethink.co.uk> | 2017-05-26 10:41:31 +0100 |
---|---|---|
committer | Ben Brown <ben.brown@codethink.co.uk> | 2017-05-26 10:41:32 +0100 |
commit | c26936cc82b2977a3582db438407f8ce3f1865c0 (patch) | |
tree | 962e2e2349dc56bf31d06e64a208fc27d0aadac3 | |
parent | db63f15a49f65ec82803b92e432c4276d123d969 (diff) | |
download | ybd-benbrown/rpm-deployment.tar.gz |
Move return outside of for loopbenbrown/rpm-deployment
Returning early was preventing other rpms generated from the same chunk
from being placed into the deployment area.
-rw-r--r-- | ybd/rpm.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -475,7 +475,7 @@ def deploy_rpm(dn, userdata): if not os.path.exists(dstdir): os.makedirs(dstdir) shutil.copyfile(cached_path, dstpath) - return True + return True def deploy_rpms(system, whitelist=None): |