[Pkg-mpd-commits] [python-mpd] 205/262: Use read_list to fetch the no_idle result.

Simon McVittie smcv at debian.org
Sun May 22 18:16:47 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 35dd00c93eb8de990eceac23df9e10d452dc7516
Author: François de Metz <francois at 2metz.fr>
Date:   Wed Apr 10 21:22:25 2013 +0200

    Use read_list to fetch the no_idle result.
    
    Signed-off-by: François de Metz <francois at stormz.me>
---
 mpd.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mpd.py b/mpd.py
index 4ebb18e..54873fc 100644
--- a/mpd.py
+++ b/mpd.py
@@ -415,7 +415,7 @@ class MPDClient(object):
           raise CommandError('cannot send noidle if send_idle was not called')
         del self._pending[0]
         self._write_command("noidle")
-        status = self._read_line()
+        status = self._read_list()
         # In some case mpd has already write the changed line
         if status is not None:
             # So we need to fetch the result of the noidle

-- 
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