diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-09-16 09:32:48 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-09-16 09:32:48 +0100 |
commit | 9ee6d97c2883d42f204a533a8bc1f4562df778fb (patch) | |
tree | b690ddc0ca30f1472887edbb0b8313629bfcbbb2 /dev-libs/aws-sdk-cpp/files/aws-sdk-cpp-upgrade_scripts_dummy_web_server_py-3.9.patch | |
parent | b17a3ef12038de50228bade1f05502c74e135321 (diff) |
gentoo resync : 16.09.2020
Diffstat (limited to 'dev-libs/aws-sdk-cpp/files/aws-sdk-cpp-upgrade_scripts_dummy_web_server_py-3.9.patch')
-rw-r--r-- | dev-libs/aws-sdk-cpp/files/aws-sdk-cpp-upgrade_scripts_dummy_web_server_py-3.9.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/dev-libs/aws-sdk-cpp/files/aws-sdk-cpp-upgrade_scripts_dummy_web_server_py-3.9.patch b/dev-libs/aws-sdk-cpp/files/aws-sdk-cpp-upgrade_scripts_dummy_web_server_py-3.9.patch new file mode 100644 index 000000000000..396d1b134ebd --- /dev/null +++ b/dev-libs/aws-sdk-cpp/files/aws-sdk-cpp-upgrade_scripts_dummy_web_server_py-3.9.patch @@ -0,0 +1,20 @@ +--- a/scripts/dummy_web_server.py (original) ++++ b/scripts/dummy_web_server.py (refactored) +@@ -78,7 +78,7 @@ + self._set_headers() + self.wfile.write(self._html("hi!")) + except socket.error as e: +- print ("socket.error : Connection broke. Aborting" + str(e)) ++ print(("socket.error : Connection broke. Aborting" + str(e))) + self.wfile._sock.close() + self.wfile._sock = None + return False +@@ -111,7 +111,7 @@ + server_address = (addr, port) + httpd = server_class(server_address, handler_class) + +- print("Starting httpd server on {}:{}.".format(addr, port)) ++ print(("Starting httpd server on {}:{}.".format(addr, port))) + httpd.serve_forever() + httpd.stop_server() + |