* no changelog provided * source file renamed OBS-URL: https://build.opensuse.org/package/show/Application:ERP:GNUHealth:Factory/python-PyWebDAV3-GNUHealth?expand=0&rev=15
18 lines
685 B
Diff
18 lines
685 B
Diff
diff -ur PyWebDAV3-GNUHealth-0.12.0/pywebdav/lib/INI_Parse.py PyWebDAV3-GNUHealth-0.12.0.patched/pywebdav/lib/INI_Parse.py
|
|
--- PyWebDAV3-GNUHealth-0.12.0/pywebdav/lib/INI_Parse.py 2023-07-14 17:28:43.000000000 +0200
|
|
+++ PyWebDAV3-GNUHealth-0.12.0.patched/pywebdav/lib/INI_Parse.py 2024-02-04 13:05:29.322027790 +0100
|
|
@@ -1,8 +1,12 @@
|
|
-from configparser import ConfigParser
|
|
+try:
|
|
+ from configparser import ConfigParser
|
|
+except ImportError:
|
|
+ from configparser import SafeConfigParser as ConfigParser
|
|
+
|
|
|
|
class Configuration:
|
|
def __init__(self, fileName):
|
|
cp = ConfigParser()
|
|
cp.read(fileName)
|
|
self.__parser = cp
|
|
self.fileName = fileName
|