[Pkg-mpd-commits] [python-mpd] 58/262: README.txt: give an example that actually works

Simon McVittie smcv at debian.org
Sun May 22 18:16:25 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 234f05d87439af7651f09b6ebdba84f7f0dc2a1c
Author: J. Alexander Treuman <jat at spatialrift.net>
Date:   Thu Jul 15 14:44:45 2010 -0400

    README.txt: give an example that actually works
---
 README.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/README.txt b/README.txt
index 3b3fa5f..4bd8f8a 100644
--- a/README.txt
+++ b/README.txt
@@ -64,7 +64,7 @@ Commands may also return iterators instead of lists if `iterate` is set to
 
 ------------------------------------------------------------------------------
 client.iterate = True
-for song in client.listallinfo():
+for song in client.playlistinfo():
     print song["file"]
 ------------------------------------------------------------------------------
 

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