attempted to fix a bug in mkdir_p that fails on jenkins
This commit is contained in:
		
							parent
							
								
									ae6de7ffef
								
							
						
					
					
						commit
						110aa17dbb
					
				|  | @ -349,6 +349,8 @@ class NullDebugger(IImageProcessingDebugger): | ||||||
|         pass  # do nothing |         pass  # do nothing | ||||||
| 
 | 
 | ||||||
| def mkdir_p(path): | def mkdir_p(path): | ||||||
|  |     if os.path.isdir(path) : | ||||||
|  |         return | ||||||
|     try: |     try: | ||||||
|         os.makedirs(path) |         os.makedirs(path) | ||||||
|     except OSError as exc:  # Python >= 2.5 |     except OSError as exc:  # Python >= 2.5 | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue