def get_password(self, option):
        pw_val = self.passwords.get(option)
        if pw_val is None:
            raise excp.PasswordException("Password asked for option %s but none was pre-populated!" % (option))
        return pw_val
dataset/ETHPy150Open openstack/anvil/anvil/components/base.py/Component.get_password/original