[Pkg-mpd-commits] [python-mpd] 110/262: typo in commands list: prior(id) -> prio(id)

Simon McVittie smcv at debian.org
Sun May 22 18:16:32 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 d602436b6ac998fe98a2b6f245a52dfd6b8babba
Author: Jörg Thalheim <jthalheim at gmail.com>
Date:   Mon Mar 19 20:59:34 2012 +0100

    typo in commands list: prior(id) -> prio(id)
    
    It should be "prio" instead of "prior" and "prioid" instead of
    "priorid".
    This fixes issue #1
---
 README.md | 2 +-
 mpd.py    | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/README.md b/README.md
index 406f82e..4c6b20d 100644
--- a/README.md
+++ b/README.md
@@ -9,7 +9,7 @@ Current features list:
 
  - python3 support (python2.6 is minimum python version required)
  - support for the upcoming client-to-client protocol
- - adding new commands of mpd (seekcur, prior, priorid)
+ - adding new commands of mpd (seekcur, prio, prioid)
  - methods are explicit declared now, so they are shown in ipython
  - add unit tests
  - documented API to add new commands (see Future Compatible)
diff --git a/mpd.py b/mpd.py
index 9a29c61..097ee28 100644
--- a/mpd.py
+++ b/mpd.py
@@ -98,8 +98,8 @@ _commands = {
     "playlistsearch":     "_fetch_songs",
     "plchanges":          "_fetch_songs",
     "plchangesposid":     "_fetch_changes",
-    "prior":              "_fetch_nothing",
-    "priorid":            "_fetch_nothing",
+    "prio":               "_fetch_nothing",
+    "prioid":             "_fetch_nothing",
     "shuffle":            "_fetch_nothing",
     "swap":               "_fetch_nothing",
     "swapid":             "_fetch_nothing",

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