view commitwatcher/commit.py @ 2:4cb3971d9d9d

commitwatcher/__init__.py commitwatcher/agent.py commitwatcher/main.py setup.py commitwatcher/commit.py commitwatcher/store.py mozbasewatcher.py
author Jeff Hammel <jhammel@mozilla.com>
date Thu, 26 Sep 2013 21:35:29 -0700
parents
children a8e21cfda5fe
line wrap: on
line source

"""
commit object model
"""

class Commit(object):

    def __init__(self, message, datetime, author, paths, link=None, identity=None):
        self.message = message
        self.datetime = datetime
        self.author= author
        self.paths = paths
        self.link = link
        self.identity = identify