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

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

src/c/h/chisubmit-0.1.1/src/chisubmit/cli/submit.py   chisubmit(Download)
        return CHISUBMIT_FAIL
 
    commit = gh.get_commit(team, args.commit)
 
    if commit is None:
 
    if submission_tag is not None and not args.force:
        submission_commit = gh.get_commit(team, submission_tag.object.sha)
        print        
        print "Submission tag '%s' already exists" % tag_name
        print "It points to commit %s (%s)" % (submission_commit.commit.sha, submission_commit.commit.message)
        print "If you want to override this submission, please use the --force option"
        return CHISUBMIT_FAIL
    elif submission_tag is not None and args.force:
        submission_commit = gh.get_commit(team, submission_tag.object.sha)