Fix trimmed files comming from leadership

This commit is contained in:
Konstantinos Tsakalozos 2017-08-29 11:10:57 +03:00
parent b8a4fa6d81
commit 50354896b6

View File

@ -301,6 +301,7 @@ def get_keys_from_leader(keys, overwrite_local=False):
# Write out the file and move on to the next item
with open(k, 'w+') as fp:
fp.write(contents)
fp.write('\n')
return True