]> git.proxmox.com Git - mirror_ovs.git/blobdiff - python/ovs/socket_util.py
python: Avoid flake8 warning for unused variables.
[mirror_ovs.git] / python / ovs / socket_util.py
index 2596ddefdb8c32fa61dc5d5854d8a7cce2f20a8d..8f9d31825c92774f158412753942cab93165d173 100644 (file)
@@ -90,7 +90,7 @@ def make_unix_socket(style, nonblock, bind_path, connect_path, short=False):
 
             try:
                 os.fchmod(sock.fileno(), 0o700)
-            except OSError as e:
+            except OSError:
                 pass
         if connect_path is not None:
             try: