def askPassword(self, location, caching=OPTIONAL): self._progress.lock() passwd = Interface.askPassword(self, location, caching) self._progress.unlock() return passwd