utils.py 文件源码

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

项目:Orange-Juice-Problem-Control 作者: function-x 项目源码 文件源码
def __init__(self, root, testMode=False):
        super(GitManager, self).__init__()
        self.root = root
        self.commitTable = {}  # ??????????(submodule, last push binsha)???
        self.ownerRepo = None
        try:
            self.problemHub = git.Repo(root)
            self.readLastCommitBinsha()
        except git.InvalidGitRepositoryError:
            if not testMode:
                self.problemHub = self.setup()
            else:
                pass
        except FileNotFoundError:
            self.commitTable = {}
        # self.acrot = git.Actor(author, authorEmaill)

    # def __str__(self):
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号