def __getattr__(self, attr):
        if attr in self.keydata:
            return getattr(self.key, attr)
        else:
            if self.__dict__.has_key(attr):
                self.__dict__[attr]
            else:
                raise AttributeError, '%s instance has no attribute %s' % (self.__class__, attr)
dataset/ETHPy150Open CollabQ/CollabQ/vendor/gdata/Crypto/PublicKey/RSA.py/RSAobj_c.__getattr__/original