Commit 77aa63c2 authored by Stefano Rivera's avatar Stefano Rivera

Imported Debian patch 0.7.4+dfsg-2

parents 9305f9de 0349ed4d
pyfiglet (0.7.4+dfsg-2) unstable; urgency=medium
* Patch py3k: Don't attempt to decode command line args in py3k.
* Update depends for smoketests ADT tests. We now require figlet, as it
contains our default font.
-- Stefano Rivera <stefanor@debian.org> Fri, 03 Jul 2015 22:12:24 -0700
pyfiglet (0.7.4+dfsg-1) unstable; urgency=medium
* New upstream release.
......
Description: In Python 3, args are already decoded
Author: Stefano Rivera <stefanor@debian.org>
Forwarded: https://github.com/pwaller/pyfiglet/pull/45
Last-Updated: 2015-07-03
--- a/pyfiglet/__init__.py
+++ b/pyfiglet/__init__.py
@@ -791,7 +791,8 @@
parser.print_help()
return 1
- args = map(lambda arg: arg.decode(sys.stdout.encoding), args)
+ if sys.version_info < (3,):
+ args = [arg.decode('UTF-8') for arg in args]
text = ' '.join(args)
font-location.diff
no-entry-points.diff
bad-toilet-fonts.diff
py3k.diff
Tests: smoketest
Depends: python-pyfiglet, toilet-fonts
Depends: figlet, python-pyfiglet, toilet-fonts
Tests: smoketest3
Depends: python3-pyfiglet, toilet-fonts
Depends: figlet, python3-pyfiglet, toilet-fonts
Tests: suite
Depends: python-all, python-pyfiglet, figlet, toilet
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment