From 110aa17dbb5becc5b182ef5e8000824b263b48de Mon Sep 17 00:00:00 2001 From: Guillaume Raffy Date: Tue, 24 Nov 2020 14:26:44 +0100 Subject: [PATCH] attempted to fix a bug in mkdir_p that fails on jenkins --- src/lipase/imageengine.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/lipase/imageengine.py b/src/lipase/imageengine.py index 49fee0f..f4990a6 100644 --- a/src/lipase/imageengine.py +++ b/src/lipase/imageengine.py @@ -349,6 +349,8 @@ class NullDebugger(IImageProcessingDebugger): pass # do nothing def mkdir_p(path): + if os.path.isdir(path) : + return try: os.makedirs(path) except OSError as exc: # Python >= 2.5