Permalink
Browse files

Fix prnt() to force string

  • Loading branch information...
1 parent 1897a0a commit c15fd9cb8d6deba8cd00305956807e3bcd9dc589 @daviddrysdale committed Nov 26, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 python/phonenumbers/util.py
@@ -61,7 +61,7 @@ def prnt(*args, **kwargs):
file = kwargs.get('file', None)
if file is None:
file = sys.stdout
- print >> file, sep.join(args) + end,
+ print >> file, sep.join([str(arg) for arg in args]) + end,
class UnicodeMixin(object): # pragma no cover
__str__ = lambda x: unicode(x).encode('utf-8')

0 comments on commit c15fd9c

Please sign in to comment.