Skip to content

Commit

Permalink
redundant import
Browse files Browse the repository at this point in the history
git-svn-id: https://xpra.org/svn/Xpra/trunk@18513 3bb7dfac-3a0b-4e04-842a-767bc560f471
  • Loading branch information
totaam committed Feb 21, 2018
1 parent 28ad371 commit 4264063
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/xpra/os_util.py
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

0 comments on commit 4264063

Please sign in to comment.