--- a/repository.py Fri Jan 26 19:04:04 2018 +0000 +++ b/repository.py Sat Jan 27 12:19:39 2018 +0000 @@ -129,7 +129,8 @@ return self.__passphrase def launch_borg_instance(self, inst): - passphrase=self.__extract_passphrase() + with self._cond: + passphrase=self.__extract_passphrase() inst.launch(passphrase=passphrase) def find_repository(name):