[Pkg-mpd-commits] [python-mpd] 249/262: PEP 8
Simon McVittie
smcv at debian.org
Sun May 22 18:16:54 UTC 2016
This is an automated email from the git hooks/post-receive script.
smcv pushed a commit to branch upstream
in repository python-mpd.
commit 1a1f050bb518fefb0711026f68f7d76a3a976708
Author: Babacar Tall <babacar.tall at gmail.com>
Date: Wed Oct 14 19:56:37 2015 +0200
PEP 8
---
mpd.py | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/mpd.py b/mpd.py
index 56c3259..313c4a9 100644
--- a/mpd.py
+++ b/mpd.py
@@ -532,11 +532,11 @@ class MPDClient(object):
def disconnect(self):
logger.info("Calling MPD disconnect()")
- if not self._rfile is None:
+ if self._rfile is not None:
self._rfile.close()
- if not self._wfile is None:
+ if self._wfile is not None:
self._wfile.close()
- if not self._sock is None:
+ if self._sock is not None:
self._sock.close()
self._reset()
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mpd/python-mpd.git
More information about the Pkg-mpd-commits
mailing list