moinformat/input/directory.py | raw changeset files shortlog |
1.1 --- a/moinformat/input/directory.py Tue Aug 07 17:51:55 2018 +0200 1.2 +++ b/moinformat/input/directory.py Tue Aug 07 22:54:13 2018 +0200 1.3 @@ -49,7 +49,9 @@ 1.4 1.5 "Return all pages in the context." 1.6 1.7 - return map(self.to_pagename, self.dir.select_files("*")) 1.8 + # Ignore dotfiles. 1.9 + 1.10 + return map(self.to_pagename, self.dir.select_files("[!.]*")) 1.11 1.12 # Page characteristics. 1.13