view commitwatcher/commit.py @ 31:3edb91cfd3c1

move to ABC
author Jeff Hammel <jhammel@mozilla.com>
date Fri, 11 Oct 2013 10:19:47 -0700
parents 4c53f4cc6ffe
children ef90a853afd1
line wrap: on
line source

"""
commit object model
"""

class Commit(object):

    def __init__(self, message, datetime, author, paths, revision):
        self.message = message
        self.datetime = datetime
        self.author= author
        self.paths = paths
        self.revision = revision