Commits

Georg Brandl committed a8720fb

#128: fix variable name.

Comments (0)

Files changed (1)

sphinx/util/__init__.py

         else:
             shutil.copyfile(source, target)
     elif path.isdir(source):
-        if filename in builder.config.exclude_dirnames:
+        if source in builder.config.exclude_dirnames:
             return
         if path.exists(target):
             shutil.rmtree(target)