# HG changeset patch # User Jeff Hammel # Date 1383646101 28800 # Node ID b04538e7f9f3b663bf05298c3847801298ce49e8 # Parent 035368f8484747b88629e54ce51665f24cc5c0d2 stub diff -r 035368f84847 -r b04538e7f9f3 commitwatcher/store.py --- a/commitwatcher/store.py Mon Nov 04 23:20:32 2013 -0800 +++ b/commitwatcher/store.py Tue Nov 05 02:08:21 2013 -0800 @@ -8,11 +8,12 @@ class CommitStore(object): """ - ABC for commits + ABC for commit storage """ - def __init__(self, verbose=True): + def __init__(self, verbose=True, events=None): self.verbose = verbose + self.events = events @abstractmethod def __contains__(self, revision): @@ -57,7 +58,8 @@ """store in volatile memory""" # volatile! - def __init__(self): + def __init__(self, *args, **kwargs): + CommitStore.__init__(self, *args, **kwargs) self.path_to_commit = {} self._commits = []