From: jordan Date: Tue, 28 Dec 2010 03:28:34 +0000 (+0000) Subject: Bugfix in the activate_revision method. X-Git-Tag: live~491 X-Git-Url: https://git.openstreetmap.org./osqa.git/commitdiff_plain/082491645db310213a3c5c44d151b3f950eddfff Bugfix in the activate_revision method. git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@643 0cfe37f9-358a-4d5e-be75-b63607b5c754 --- diff --git a/forum/models/node.py b/forum/models/node.py index 2c72e81..65eb2dc 100644 --- a/forum/models/node.py +++ b/forum/models/node.py @@ -334,7 +334,7 @@ class Node(BaseModel, NodeContent): self.activate_revision(user, revision, extensions=['urlize']) return revision - def activate_revision(self, user, revision, extensions): + def activate_revision(self, user, revision, extensions=['urlize']): self.title = revision.title self.tagnames = revision.tagnames self.body = self._as_markdown(revision.body, *extensions)