comparison commitwatcher/store.py @ 22:f82d43bcb24e

commitwatcher/store.py
author Jeff Hammel <jhammel@mozilla.com>
date Wed, 02 Oct 2013 08:55:59 -0700
parents be7090ee7738
children e65090645a18
comparison
equal deleted inserted replaced
21:be7090ee7738 22:f82d43bcb24e
29 """store in volatile memory""" 29 """store in volatile memory"""
30 # volatile! 30 # volatile!
31 31
32 def __init__(self): 32 def __init__(self):
33 self.path_to_commit = {} 33 self.path_to_commit = {}
34 self._commits = []
34 35
35 def add(self, commit): 36 def add(self, commit):
36 raise NotImplementedError() 37 raise NotImplementedError()
37 38
38 def paths(self, *commits): 39 def paths(self, *commits):
41 """ 42 """
42 43
43 paths = set() 44 paths = set()
44 for commit in commits: 45 for commit in commits:
45 for f in commit.files: 46 for f in commit.files:
46 47
47 raise NotImplementedError 48 raise NotImplementedError