Augmented the add method for Note.

This commit is contained in:
Jeremy Fincher 2004-08-24 04:09:15 +00:00
parent 00b8f18620
commit acf0a3f3e5

View File

@ -284,7 +284,9 @@ class DB(object):
def add(self, record):
s = record.serialize()
return self.map.add(s)
id = self.map.add(s)
record.id = id
return id
def remove(self, id):
self.map.remove(id)