File ibus-table_fix_other_tables_compile_error.patch of Package ibus-table.14184

diff -Nura ibus-table-1.9.21/engine/ibus_table_location.py ibus-table-1.9.21_new/engine/ibus_table_location.py
--- ibus-table-1.9.21/engine/ibus_table_location.py	2018-08-28 22:36:37.000000000 +0800
+++ ibus-table-1.9.21_new/engine/ibus_table_location.py	2020-02-19 22:12:51.972000000 +0800
@@ -73,7 +73,7 @@
     IBUS_TABLE_LOCATION['data_home'] = os.path.join(
         IBUS_TABLE_LOCATION['data_home'], 'ibus-table')
     if not os.access(IBUS_TABLE_LOCATION['data_home'], os.F_OK):
-        os.makedirs(IBUS_TABLE_LOCATION['data_home'])
+        os.makedirs(IBUS_TABLE_LOCATION['data_home'], exist_ok=True)
 
     # $XDG_CACHE_HOME defines the base directory relative to which user
     # specific non-essential data files should be stored. If
@@ -89,7 +89,7 @@
     IBUS_TABLE_LOCATION['cache_home'] = os.path.join(
         IBUS_TABLE_LOCATION['cache_home'], 'ibus-table')
     if not os.access(IBUS_TABLE_LOCATION['cache_home'], os.F_OK):
-        os.makedirs(IBUS_TABLE_LOCATION['cache_home'])
+        os.makedirs(IBUS_TABLE_LOCATION['cache_home'], exist_ok=True)
 
 class __ModuleInitializer:
     def __init__(self):
openSUSE Build Service is sponsored by