Permalink
Browse files

Fixed bug where wikisync status not created when a new wiki is added.

  • Loading branch information...
1 parent 1ed0cd9 commit 26a6f579e95ad4eda6b23543da3457a35ccbceba Ivan Choo committed Mar 19, 2012
Showing with 7 additions and 0 deletions.
  1. +7 −0 wikisync/plugin.py
View
@@ -125,6 +125,13 @@ def wiki_page_added(self, page):
dao = WikiSyncDao(self.env)
item = dao.find(page.name)
if not item:
+ ignore_filter = RegExpFilter(
+ self._get_config("ignorelist")
+ )
+ item = dao.factory(
+ name=page.name,
+ ignore=ignore_filter.matches(page.name)
+ )
dao.create(item)
self.log.debug("Created wikisync '%s'" % item.name)

0 comments on commit 26a6f57

Please sign in to comment.