Commit 167ddca3 authored by Thomas Gambier's avatar Thomas Gambier 🚴🏼

networkcache: fix upload_network_cached in python3

parent b78eefab
...@@ -160,7 +160,7 @@ def upload_network_cached(software_root, software_url, cached_key, ...@@ -160,7 +160,7 @@ def upload_network_cached(software_root, software_url, cached_key,
os=distribution_tuple(), os=distribution_tuple(),
) )
f = open(path, 'r') f = open(path, 'rb')
# convert '' into None in order to call nc nicely # convert '' into None in order to call nc nicely
if not signature_private_key_file: if not signature_private_key_file:
signature_private_key_file = None signature_private_key_file = None
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment