Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

  • Loading branch information...
commit 26a6f579e95ad4eda6b23543da3457a35ccbceba 1 parent 1ed0cd9
Ivan Choo authored
Showing with 7 additions and 0 deletions.
  1. +7 −0 wikisync/plugin.py
View
7 wikisync/plugin.py
@@ -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)
Please sign in to comment.
Something went wrong with that request. Please try again.