def connect(self): conn_value = super().connect() if conn_value: self.source = repository.ReadRepo(self.connected_locations[0], self.log, self.values.force) self.target = directory.WriteDir(self.connected_locations[1], self.log, self.values.force, self.values.create_full_path) return conn_value
def connect(self): conn_value = super().connect() if conn_value: self.repo = repository.Repo( self.connected_locations[0], self.values.force, must_be_writable=False, must_exist=True, can_be_sub_path=True ) self.dir = directory.WriteDir(self.connected_locations[1], self.values.force, self.values.create_full_path) return conn_value