Browse Source

Merge "Remove uneeded if statement"

tags/3.4.0
Zuul 5 months ago
parent
commit
fff02ace69
1 changed files with 1 additions and 2 deletions
  1. 1
    2
      zuul/merger/merger.py

+ 1
- 2
zuul/merger/merger.py View File

@@ -495,8 +495,7 @@ class Merger(object):
495 495
             self.log = logger
496 496
         self.repos = {}
497 497
         self.working_root = working_root
498
-        if not os.path.exists(working_root):
499
-            os.makedirs(working_root)
498
+        os.makedirs(working_root, exist_ok=True)
500 499
         self.connections = connections
501 500
         self.email = email
502 501
         self.username = username

Loading…
Cancel
Save