Show More
@@ -196,6 +196,14 class marker(object): | |||
|
196 | 196 | self._data = data |
|
197 | 197 | self._decodedmeta = None |
|
198 | 198 | |
|
199 | def __hash__(self): | |
|
200 | return hash(self._data) | |
|
201 | ||
|
202 | def __eq__(self, other): | |
|
203 | if type(other) != type(self): | |
|
204 | return False | |
|
205 | return self._data == other._data | |
|
206 | ||
|
199 | 207 | def precnode(self): |
|
200 | 208 | """Precursor changeset node identifier""" |
|
201 | 209 | return self._data[0] |
General Comments 0
You need to be logged in to leave comments.
Login now