equal
deleted
inserted
replaced
71 c = [] |
71 c = [] |
72 for n in self.nodemap: |
72 for n in self.nodemap: |
73 if id in hex(n): |
73 if id in hex(n): |
74 c.append(n) |
74 c.append(n) |
75 if len(c) > 1: raise KeyError("Ambiguous identifier") |
75 if len(c) > 1: raise KeyError("Ambiguous identifier") |
76 if len(c) < 1: raise KeyError |
76 if len(c) < 1: raise KeyError("No match found") |
77 return c[0] |
77 return c[0] |
78 |
78 |
79 return None |
79 return None |
80 |
80 |
81 def revisions(self, list): |
81 def revisions(self, list): |