Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(6)  |  Call(6)  |  Derive(0)  |  Import(0)

        def get_github_token():
    return __get_file(GHTOKEN_FILENAME)
        


src/c/h/chisubmit-0.1.1/src/chisubmit/cli/course.py   chisubmit(Download)
    try:
        # Try connecting to GitHub
        github_access_token = chisubmit.core.get_github_token()
        gh = GithubConnection(github_access_token, course.github_organization)
 

src/c/h/chisubmit-0.1.1/src/chisubmit/cli/team.py   chisubmit(Download)
        return CHISUBMIT_FAIL
 
    github_access_token = chisubmit.core.get_github_token()
 
    if github_access_token is None:
        return CHISUBMIT_FAIL
 
    github_access_token = chisubmit.core.get_github_token()
 
    if github_access_token is None:
        return CHISUBMIT_FAIL
 
    github_access_token = chisubmit.core.get_github_token()
 
    if github_access_token is None:

src/c/h/chisubmit-0.1.1/scripts/create_groups.py   chisubmit(Download)
    print "Creating GitHub repository...",
    try:
        github_access_token = chisubmit.core.get_github_token()
        gh = GithubConnection(github_access_token, course.github_organization)
        gh.create_team_repository(course, team, True)

src/c/h/chisubmit-0.1.1/src/chisubmit/cli/submit.py   chisubmit(Download)
    extensions_requested = args.extensions
 
    github_access_token = chisubmit.core.get_github_token()
 
    if github_access_token is None: