author | timeless <timeless@mozdev.org> |
Tue, 05 Apr 2016 01:35:36 +0000 | |
changeset 29172 | 2ea9c9aa6e60 |
parent 29171 | de28dedd1ff1 |
child 29173 | fa9fae9a9372 |
--- a/hg Fri May 13 02:58:15 2016 +0530 +++ b/hg Tue Apr 05 01:35:36 2016 +0000 @@ -11,9 +11,11 @@ import sys if os.environ.get('HGUNICODEPEDANTRY', False): - reload(sys) - sys.setdefaultencoding("undefined") - + try: + reload(sys) + sys.setdefaultencoding("undefined") + except NameError: + pass libdir = '@LIBDIR@'