Browse Source

trivial change to trigger CI

Thomas Waldmann 2 years ago
parent
commit
06fa81aeb0
1 changed files with 1 additions and 2 deletions
  1. 1 2
      setup_docs.py

+ 1 - 2
setup_docs.py

@@ -53,8 +53,7 @@ class build_usage(Command):
         import borg
         import borg
 
 
         borg.doc_mode = "build_man"
         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
         # allows us to build docs without the C modules fully loaded during help generation
         from borg.archiver import Archiver
         from borg.archiver import Archiver