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] |