File use-os-makedirs.patch of Package pgadmin4

From: Antonio Larrosa <alarrosa@suse.com>
Subject: Use os.makedirs instead of os.mkdir

So parent directories are created if needed

Index: pgadmin4-3.3/web/pgadmin/setup/data_directory.py
===================================================================
--- pgadmin4-3.3.orig/web/pgadmin/setup/data_directory.py
+++ pgadmin4-3.3/web/pgadmin/setup/data_directory.py
@@ -12,7 +12,7 @@ import os
 
 def _create_directory_if_not_exists(_path):
     if not os.path.exists(_path):
-        os.mkdir(_path)
+        os.makedirs(_path)
 
 
 def create_app_data_directory(config):
openSUSE Build Service is sponsored by