Skip to content

Commit 52fb96a

Browse files
committed
xauth: minor cleanup
1 parent 8841533 commit 52fb96a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Xlib/xauth.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ def __init__(self, filename = None):
8585
break
8686

8787
self.entries.append((family, addr, num, name, data))
88-
except struct.error as e:
88+
except struct.error:
8989
print("Xlib.xauth: warning, failed to parse part of xauthority file {0}, aborting all further parsing".format(filename))
9090

9191
if len(self.entries) == 0:

0 commit comments

Comments
 (0)