distnet.py 文件源码

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

项目:SoCFoundationFlow 作者: mattaw 项目源码 文件源码
def check_errors(self):
        errors = False
        for c in self.constraints:
            if not c.required_version:
                errors = True

                reasons = c.why()
                if len(reasons) == 1:
                    Logs.error('%s but no matching package could be found in this repository' % reasons[0])
                else:
                    Logs.error('Conflicts on package %r:' % c.pkgname)
                    for r in reasons:
                        Logs.error('  %s' % r)
        if errors:
            self.fatal('The package requirements cannot be satisfied!')
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号