[Pkg-mpd-commits] [python-mpd] 32/91: twisted: use unicode by default
Simon McVittie
smcv at debian.org
Sat Feb 24 14:55:31 UTC 2018
This is an automated email from the git hooks/post-receive script.
smcv pushed a commit to branch debian/master
in repository python-mpd.
commit cfb47c46237b5e4c082f3c09cbe9ed21f5d37fc1
Author: Jörg Thalheim <joerg at higgsboson.tk>
Date: Sat Sep 10 21:30:05 2016 +0200
twisted: use unicode by default
as the twisted version does not try to be compatible with the
original python-mpd, we set unicode as default
---
mpd/twisted.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/mpd/twisted.py b/mpd/twisted.py
index b7ef719..ec57ef9 100644
--- a/mpd/twisted.py
+++ b/mpd/twisted.py
@@ -51,8 +51,8 @@ def _create_command(wrapper, name, callback):
class MPDProtocol(basic.LineReceiver, MPDClientBase):
delimiter = "\n"
- def __init__(self, default_idle=True, idle_result=None, use_unicode=False):
- super(MPDProtocol, self).__init__(use_unicode=use_unicode)
+ def __init__(self, default_idle=True, idle_result=None):
+ super(MPDProtocol, self).__init__(use_unicode=True)
# flag whether client should idle by default
self._default_idle = default_idle
self.idle_result = idle_result
--
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