repository.py

changeset 75
2a44b9649212
parent 74
4f56142e7497
child 79
b075b3db3044
--- 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):

mercurial