support all wiki pages names

This commit is contained in:
Romain Bignon 2011-05-29 23:29:08 +02:00
commit 5cd8d92274
2 changed files with 3 additions and 3 deletions

View file

@ -37,8 +37,8 @@ class RedmineBrowser(BaseBrowser):
PAGES = {'%s/': IndexPage,
'%s/login': LoginPage,
'%s/my/page': MyPage,
'%s/projects/([\w-]+)/wiki/([\w_\-]+)/edit': WikiEditPage,
'%s/projects/[\w-]+/wiki/[\w_\-]*': WikiPage,
'%s/projects/([\w-]+)/wiki/([^\/]+)/edit': WikiEditPage,
'%s/projects/[\w-]+/wiki/[^\/]*': WikiPage,
}
def __init__(self, url, *args, **kwargs):