Quellcode durchsuchen

trivial change to trigger CI

Thomas Waldmann vor 2 Jahren
Ursprung
Commit
06fa81aeb0
1 geänderte Dateien mit 1 neuen und 2 gelöschten Zeilen
  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