gandi.py 文件源码

python
阅读 23 收藏 0 点赞 0 评论 0

项目:lexicon 作者: AnalogJ 项目源码 文件源码
def authenticate(self):
        """Determine the current domain and zone IDs for the domain."""

        try:
            payload = self.api.domain.info(self.apikey, self.domain)
            self.domain_id = payload['id']
            self.zone_id = payload['zone_id']

        except xmlrpclib.Fault as err:
            raise Exception("Failed to authenticate: '{0}'".format(err))

    # Create record. If record already exists with the same content, do nothing'
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号