Suppress unicode error in squash_python (due to formatting os.environ bytes into unicode str)

This commit is contained in:
David Vierra 2013-05-17 03:44:00 -10:00
parent 8a421085a1
commit 2cda5f36aa

View File

@ -1022,7 +1022,7 @@ def main(argv):
Settings.reportCrashes.addObserver(client, '_enabled', _reportingChanged)
client.reportErrors()
client.hook()
except ImportError:
except (ImportError, UnicodeError) as e:
pass
try: