diff --git a/ChangeLog b/ChangeLog index 4d7cfb466..b1d645b6f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,6 @@ +2007-10-12 Don Allingham + * src/gen/lib/note.py (Note.get): fix typo + 2007-10-12 Benny Malengier * src/Filters/Rules/Event/_MatchesSourceFilter.py: new filter * src/Filters/Rules/Event/__init__.py: load new filter diff --git a/src/gen/lib/note.py b/src/gen/lib/note.py index 2bfc17011..2964a08bc 100644 --- a/src/gen/lib/note.py +++ b/src/gen/lib/note.py @@ -120,7 +120,7 @@ class Note(BasicPrimaryObject): """ text = self.text - if not markup and text.starts_with(ROOT_START_TAG): + if not markup and text.startswith(ROOT_START_TAG): text = self.delete_tags(text) return text