view commitwatcher/commit.py @ 25:a5b4025f2455

commitwatcher/web.py
author Jeff Hammel <jhammel@mozilla.com>
date Wed, 02 Oct 2013 18:41:59 -0700
parents a8e21cfda5fe
children 4c53f4cc6ffe
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