source: trunk/dports/python/py25-quodlibet/files/patch-quodlibet_quodlibet___init__.py.diff @ 54933

Last change on this file since 54933 was 54933, checked in by snc@…, 8 years ago

created py25-quodlibet, ticket #20555

File size: 584 bytes
  • quodlibet/__init__.py

    diff --git a/quodlibet/quodlibet/__init__.py b/quodlibet/quodlibet/__init__.py
    index db398aa..b8dc667 100644
    def print_(string, frm="utf-8", prefix="", output=sys.stdout, log=None): 
    5858
    5959    quodlibet.util.logging.log(string, log)
    6060
    61     if isinstance(string, unicode):
    62         string = string.encode(ENCODING, "replace")
    63     else:
    64         string = string.decode(frm).encode(ENCODING, "replace")
    65 
    6661    if output:
    6762        if isinstance(string, unicode):
    6863            string = string.encode(ENCODING, "replace")
Note: See TracBrowser for help on using the repository browser.