def getLatestTimestamp(gitPath):
    
    os.chdir(gitPath)
    f = os.popen("%s rev-list HEAD --pretty --max-count=1" % os.environ['TM_GIT'])
    text = f.read()
    
    m = reGitDateField.search(text)
    if m:
        return datetime.datetime.strptime(m.groups()[0], "%a %b %d %H:%M:%S %Y")
Register a schema to validate request body.
dataset/ETHPy150Open joehewitt/devon/devon/rcs/git.py/getLatestTimestamp--crossover with--dataset/ETHPy150Open BU-NU-CLOUD-SP16/Trusted-Platform-Module-nova/nova/api/validation/__init__.py/schema