view commitwatcher/commit.py @ 35:5406eb70f5bd

example
author Jeff Hammel <jhammel@mozilla.com>
date Fri, 01 Nov 2013 09:23:46 -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