14
0
forked from pool/python-py3dns

- Initial package, used by libravatar

- Add patches from Fedora to fix build:
  * python3-py3dns-handle-absent-resolv.patch
  * python3-py3dns-py3_friendly_warning.patch

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-py3dns?expand=0&rev=1
This commit is contained in:
Tomáš Chvátal
2018-08-02 08:42:45 +00:00
committed by Git OBS Bridge
commit 1902e000b9
7 changed files with 147 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
--- a/DNS/Base.py 2018-03-27 21:22:25.000000000 +0000
+++ b/DNS/Base.py 2018-03-27 21:21:57.000000000 +0000
@@ -53,7 +53,7 @@
with open(resolv_path, 'r') as stream:
return ParseResolvConfFromIterable(stream)
except FileNotFoundError as e:
- warnings.warn(e)
+ warnings.warn(str(e))
return
def ParseResolvConfFromIterable(lines):