##// END OF EJS Templates
branchmap: implement __contains__()...
Pulkit Goyal -
r42282:f0def07f default
parent child Browse files
Show More
@@ -182,6 +182,9 b' class branchcache(object):'
182 def __getitem__(self, key):
182 def __getitem__(self, key):
183 return self._entries[key]
183 return self._entries[key]
184
184
185 def __contains__(self, key):
186 return key in self._entries
187
185 def iteritems(self):
188 def iteritems(self):
186 return self._entries.iteritems()
189 return self._entries.iteritems()
187
190
General Comments 0
You need to be logged in to leave comments. Login now