view commitwatcher/commit.py @ 30:4c53f4cc6ffe

commitwatcher/commit.py commitwatcher/store.py
author Jeff Hammel <jhammel@mozilla.com>
date Wed, 09 Oct 2013 14:50:07 -0700
parents a8e21cfda5fe
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