fedora-helper: Do not create CACHEDIR twice

Signed-off-by: Igor Raits <ignatenkobrain@fedoraproject.org>
This commit is contained in:
Igor Raits 2020-05-30 18:40:40 +02:00
parent fdf954cd36
commit 979ccdb601
No known key found for this signature in database
GPG key ID: 115D5AB89C5C1E1E

View file

@ -76,8 +76,6 @@ def get_binary_license(ctx, source, add, verbose):
This command resolves dependencies and outputs final license(s).
"""
os.makedirs(CACHEDIR, exist_ok=True)
pool = solv.Pool()
pool.setarch(ARCH)