diff options
author | Alex Dewar | 2020-12-11 16:05:18 +0000 |
---|---|---|
committer | Alex Dewar | 2020-12-11 16:05:37 +0000 |
commit | 7e0a3c4b7d638673a84da4973aa4a41ee79bb75b (patch) | |
tree | 78e6d02b512fe2560a7443eb3fc03cd2090e1bd1 /python38.patch | |
parent | 9590340d4353b4ad63a25c67d86fcbeb2459ec67 (diff) | |
download | aur-7e0a3c4b7d638673a84da4973aa4a41ee79bb75b.tar.gz |
v2.7.3
Diffstat (limited to 'python38.patch')
-rw-r--r-- | python38.patch | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/python38.patch b/python38.patch deleted file mode 100644 index 4b92513d4862..000000000000 --- a/python38.patch +++ /dev/null @@ -1,27 +0,0 @@ - -diff --git a/openSM2sync/server.py b/openSM2sync/server.py -index 50c1e0f6..1a7d6da4 100755 ---- a/openSM2sync/server.py -+++ b/openSM2sync/server.py -@@ -5,11 +5,11 @@ - - import os - import sys --import cgi - import time - import types - import select - import socket -+import urllib - import tarfile - import http.client - import tempfile -@@ -152,7 +152,7 @@ def get_method(self, environ): - # Convert e.g. GET /foo_bar into get_foo_bar. - method = (environ["REQUEST_METHOD"] + \ - environ["PATH_INFO"].replace("/", "_")).lower() -- args = cgi.parse_qs(environ["QUERY_STRING"]) -+ args = urllib.parse.parse_qs(environ["QUERY_STRING"]) - args = dict([(key, val[0]) for key, val in list(args.items())]) - # Login method. - if method == "put_login" or method == "get_status": |