changeset 39:b04538e7f9f3

stub
author Jeff Hammel <jhammel@mozilla.com>
date Tue, 05 Nov 2013 02:08:21 -0800
parents 035368f84847
children 97dfcdeb9a4e
files commitwatcher/store.py
diffstat 1 files changed, 5 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- 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 = []