Mercurial > hg
comparison contrib/python-hook-examples.py @ 32642:c032e137e494
py3: convert exception to bytes to pass into ui.warn()
Here encoding.strtolocal() is used because exc maybe an IOError which could
contain a valid non-ascii unicode.
author | Pulkit Goyal <7895pulkit@gmail.com> |
---|---|
date | Fri, 02 Jun 2017 10:35:21 +0530 |
parents | 2b585677220e |
children | 1a184b727aff |
comparison
equal
deleted
inserted
replaced
32641:49e1e5acb8ff | 32642:c032e137e494 |
---|