mirror of
https://git.freebsd.org/ports.git
synced 2025-05-04 23:47:37 -04:00
11 lines
399 B
Text
11 lines
399 B
Text
--- mpd.py.orig 2010-12-14 00:46:05 UTC
|
|
+++ mpd.py
|
|
@@ -396,7 +396,7 @@ class MPDClient(object):
|
|
sock = socket.socket(af, socktype, proto)
|
|
sock.connect(sa)
|
|
return sock
|
|
- except socket.error, err:
|
|
+ except socket.error as err:
|
|
if sock is not None:
|
|
sock.close()
|
|
if err is not None:
|