From a341e929d9eb0dd93667927dcb552a8f4bb89911 Mon Sep 17 00:00:00 2001 From: Holger Schurig Date: Tue, 6 Jul 2010 13:22:54 +0200 Subject: [PATCH] webber.py: make it exclude_dirs (plural), not exclude_dir --- in/webber.conf | 2 +- webber.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/in/webber.conf b/in/webber.conf index ec22135..675db98 100644 --- a/in/webber.conf +++ b/in/webber.conf @@ -16,7 +16,7 @@ plugins: [ "google_sitemap", "toc", ] -exclude_dir: [ +exclude_dirs: [ ] exclude_files: [ "webber.conf", diff --git a/webber.py b/webber.py index 22e1842..643aa25 100644 --- a/webber.py +++ b/webber.py @@ -519,7 +519,7 @@ def walk_tree(dirpath): full_path = os.path.join(dirpath, s) ok = True if os.path.isdir(full_path): - for e in cfg.exclude_dir: + for e in cfg.exclude_dirs: if fnmatch.fnmatchcase(s, e): log("ignoring directory %s" % s, level=7) ok = False -- 2.39.2