]> git.ipfire.org Git - ipfire-2.x.git/blobdiff - src/patches/ddns-013-proper-encode-string.patch
ddns: Update to 014.
[ipfire-2.x.git] / src / patches / ddns-013-proper-encode-string.patch
diff --git a/src/patches/ddns-013-proper-encode-string.patch b/src/patches/ddns-013-proper-encode-string.patch
deleted file mode 100644 (file)
index b101913..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
-commit 27aea61ba3c8e561c4a5921aeb0ea0986d4d234c
-Author: Johannes Schwietzke <johannes.schwietzke@web.de>
-Date:   Tue Dec 29 12:07:19 2020 +0100
-
-    providers.py: Proper encode string.
-    
-    Python 3 memoryview requires an encoded string.
-    
-    Signed-off-by: Johannes Schwietzke <johannes.schwietzke@web.de>
-    Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
-
-diff --git a/src/ddns/providers.py b/src/ddns/providers.py
-index b0066d5..56e6620 100644
---- a/src/ddns/providers.py
-+++ b/src/ddns/providers.py
-@@ -547,7 +547,7 @@ class DDNSProviderBindNsupdate(DDNSProvider):
-                       logger.debug("  %s" % line)
--              return "\n".join(scriptlet)
-+              return "\n".join(scriptlet).encode()
- class DDNSProviderChangeIP(DDNSProvider):