]> git.openstreetmap.org Git - osqa.git/commitdiff
Bugfix in the activate_revision method.
authorjordan <jordan@0cfe37f9-358a-4d5e-be75-b63607b5c754>
Tue, 28 Dec 2010 03:28:34 +0000 (03:28 +0000)
committerjordan <jordan@0cfe37f9-358a-4d5e-be75-b63607b5c754>
Tue, 28 Dec 2010 03:28:34 +0000 (03:28 +0000)
git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@643 0cfe37f9-358a-4d5e-be75-b63607b5c754

forum/models/node.py

index 2c72e81a105fdb0d2304a94d77690d46af38c07d..65eb2dc66857460e5d9714188a9a91188c0fa44c 100644 (file)
@@ -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)