Fix problems remaining since note markup was changed. Remove False parameter in calls to note.get(). Bug #2351

svn: r11037
This commit is contained in:
Gary Burton 2008-09-07 11:08:18 +00:00
parent 1b6ef4c8dd
commit 994db96378
4 changed files with 4 additions and 4 deletions

View File

@ -49,7 +49,7 @@ class HasNoteMatchingSubstringOf(Rule):
notelist = person.get_note_list()
for notehandle in notelist:
note = db.get_note_from_handle(notehandle)
n = note.get(False)
n = note.get()
if n.upper().find(self.list[0].upper()) != -1:
return True
return False

View File

@ -59,7 +59,7 @@ class HasNoteRegexBase(Rule):
notelist = person.get_note_list()
for notehandle in notelist:
note = db.get_note_from_handle(notehandle)
n = unicode(note.get(False))
n = unicode(note.get())
if self.match.match(n) is not None:
return True
return False

View File

@ -50,7 +50,7 @@ class HasNoteSubstrBase(Rule):
notelist = person.get_note_list()
for notehandle in notelist:
note = db.get_note_from_handle(notehandle)
n = unicode(note.get(False))
n = unicode(note.get())
if n.upper().find(self.list[0].upper()) != -1:
return True
return False

View File

@ -156,7 +156,7 @@ class RepositoryTip:
for notehandle in notelist:
note = self._db.get_note_from_handle(notehandle)
s += "\t<b>%s:</b>\t%s\n" % (
_("Note"), escape(note.get(False)))
_("Note"), escape(note.get()))
# Get the list of sources that reference this repository
repos_handle = self._obj.get_handle()