# HG changeset patch # User Paul Boddie # Date 1533675253 -7200 # Node ID cd15f29827eb6d2c76e6ddb42087a8daa8a8fb1e # Parent cfd65f03e383b6bc8a308b2aa91bda9705b19f73 Ignore dotfiles when obtaining all pagenames. diff -r cfd65f03e383 -r cd15f29827eb moinformat/input/directory.py --- a/moinformat/input/directory.py Tue Aug 07 17:51:55 2018 +0200 +++ b/moinformat/input/directory.py Tue Aug 07 22:54:13 2018 +0200 @@ -49,7 +49,9 @@ "Return all pages in the context." - return map(self.to_pagename, self.dir.select_files("*")) + # Ignore dotfiles. + + return map(self.to_pagename, self.dir.select_files("[!.]*")) # Page characteristics.