浏览代码

trivial change to trigger CI

Thomas Waldmann 2 年之前
父节点
当前提交
06fa81aeb0
共有 1 个文件被更改,包括 1 次插入2 次删除
  1. 1 2
      setup_docs.py

+ 1 - 2
setup_docs.py

@@ -53,8 +53,7 @@ class build_usage(Command):
         import borg
 
         borg.doc_mode = "build_man"
-        if not os.path.exists("docs/usage"):
-            os.mkdir("docs/usage")
+        os.makedirs("docs/usage", exist_ok=True)
         # allows us to build docs without the C modules fully loaded during help generation
         from borg.archiver import Archiver