From 4264063feb628bee34623ec9f0ab75af36814a44 Mon Sep 17 00:00:00 2001 From: Antoine Martin Date: Wed, 21 Feb 2018 07:09:45 +0000 Subject: [PATCH] redundant import git-svn-id: https://xpra.org/svn/Xpra/trunk@18513 3bb7dfac-3a0b-4e04-842a-767bc560f471 --- src/xpra/os_util.py | 1 - 1 file changed, 1 deletion(-) diff --git a/src/xpra/os_util.py b/src/xpra/os_util.py index 8961592e53..ed77035300 100644 --- a/src/xpra/os_util.py +++ b/src/xpra/os_util.py @@ -701,7 +701,6 @@ def get_peercred(sock): log = get_util_logger() try: import socket - import struct creds = sock.getsockopt(socket.SOL_SOCKET, SO_PEERCRED, struct.calcsize('3i')) pid, uid, gid = struct.unpack('3i',creds) log("peer: %s", (pid, uid, gid))