From 4c2e57cb2e7e54d1e2cce4d556d968b7143cf1d2 Mon Sep 17 00:00:00 2001 From: Don Allingham Date: Fri, 12 Oct 2007 11:48:28 +0000 Subject: [PATCH] 2007-10-12 Don Allingham * src/gen/lib/note.py (Note.get): fix typo svn: r9161 --- ChangeLog | 3 +++ src/gen/lib/note.py | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) 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