コード例 #1
0
    def refresh_github_ids(self):
        if not self.github_owner:
            return None

        self.github_api_raw = github_api.get_repo_data(self.github_owner, self.github_repo_name)
        try:
            (self.github_owner, self.github_repo_name) = self.github_api_raw["full_name"].split("/")
        except KeyError:
            self.github_owner = None
            self.github_repo_name = None
コード例 #2
0
 def set_github_about(self):
     self.api_raw = github_api.get_repo_data(self.login, self.repo_name)
     return self.api_raw
コード例 #3
0
ファイル: github_repo.py プロジェクト: otrarto/depsy
 def set_github_about(self):
     self.api_raw = github_api.get_repo_data(self.login, self.repo_name)
     return self.api_raw