view commitwatcher/commit.py @ 10:7ae60d2ff1c2

commitwatcher/agent.py mozbasewatcher.py tests/41701d2c0341.diff
author Jeff Hammel <jhammel@mozilla.com>
date Sat, 28 Sep 2013 05:10:14 -0700
parents 4cb3971d9d9d
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