repository.py

changeset 75
2a44b9649212
parent 74
4f56142e7497
child 79
b075b3db3044
equal deleted inserted replaced
74:4f56142e7497 75:2a44b9649212
127 else: 127 else:
128 self.__passphrase=None 128 self.__passphrase=None
129 return self.__passphrase 129 return self.__passphrase
130 130
131 def launch_borg_instance(self, inst): 131 def launch_borg_instance(self, inst):
132 passphrase=self.__extract_passphrase() 132 with self._cond:
133 passphrase=self.__extract_passphrase()
133 inst.launch(passphrase=passphrase) 134 inst.launch(passphrase=passphrase)
134 135
135 def find_repository(name): 136 def find_repository(name):
136 if name in repositories: 137 if name in repositories:
137 return repositories[name] 138 return repositories[name]

mercurial