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 <> 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 <>
Last-Updated: 2015-07-03
--- a/pyfiglet/
+++ b/pyfiglet/
@@ -791,7 +791,8 @@
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)
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