Remove uneeded if statement

Since python3 is mandatory for zuul, we can use 'exist_ok' flag to
simplify stuff a little.

Change-Id: Idbb8f2bf8239adfdd4046ecee071f5c7f979cc68
This commit is contained in:
Quique Llorente 2018-11-14 16:31:11 +01:00
parent 33699fa316
commit 664102b7d4
1 changed files with 1 additions and 2 deletions

View File

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