1.1 --- a/MoinSupport.py Sun Mar 10 01:16:50 2013 +0100
1.2 +++ b/MoinSupport.py Fri Apr 19 15:16:48 2013 +0200
1.3 @@ -949,11 +949,13 @@
1.4
1.5 "A page-specific item store."
1.6
1.7 - def __init__(self, page, item_dir=("items",), lock_dir=("item_locks",)):
1.8 + def __init__(self, page, item_dir="items", lock_dir="item_locks"):
1.9
1.10 "Initialise an item store for the given 'page'."
1.11
1.12 - ItemDirectoryStore.__init__(self, page.getPagePath(*item_dir), page.getPagePath(*lock_dir))
1.13 + item_dir_path = tuple(item_dir.split("/"))
1.14 + lock_dir_path = tuple(lock_dir.split("/"))
1.15 + ItemDirectoryStore.__init__(self, page.getPagePath(*item_dir_path), page.getPagePath(*lock_dir_path))
1.16 self.page = page
1.17
1.18 def can_write(self):