Show More
@@ -130,13 +130,13 b' class bmstore(object):' | |||||
130 | def get(self, mark, default=None): |
|
130 | def get(self, mark, default=None): | |
131 | return self._refmap.get(mark, default) |
|
131 | return self._refmap.get(mark, default) | |
132 |
|
132 | |||
133 |
def _set(self, k |
|
133 | def _set(self, mark, node): | |
134 | self._clean = False |
|
134 | self._clean = False | |
135 |
self._refmap[k |
|
135 | self._refmap[mark] = node | |
136 |
|
136 | |||
137 |
def _del(self, k |
|
137 | def _del(self, mark): | |
138 | self._clean = False |
|
138 | self._clean = False | |
139 |
del self._refmap[k |
|
139 | del self._refmap[mark] | |
140 |
|
140 | |||
141 | def names(self, node): |
|
141 | def names(self, node): | |
142 | """Return a sorted list of bookmarks pointing to the specified node""" |
|
142 | """Return a sorted list of bookmarks pointing to the specified node""" |
General Comments 0
You need to be logged in to leave comments.
Login now