/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to breezy/crash.py

  • Committer: Breezy landing bot
  • Author(s): Jelmer Vernooij
  • Date: 2020-06-12 01:45:56 UTC
  • mfrom: (7513.1.2 pypy3)
  • Revision ID: breezy.the.bot@gmail.com-20200612014556-tsc8assk3d0luziu
Avoid deprecated behaviour in ElementTree.

Merged from https://code.launchpad.net/~jelmer/brz/pypy3/+merge/385611

Show diffs side-by-side

added added

removed removed

Lines of Context:
36
36
-Dno_apport.
37
37
"""
38
38
 
39
 
from __future__ import absolute_import
40
 
 
41
39
# for interactive testing, try the 'brz assert-fail' command
42
40
# or see http://code.launchpad.net/~mbp/bzr/bzr-fail
43
41
#
44
42
# to test with apport it's useful to set
45
43
# export APPORT_IGNORE_OBSOLETE_PACKAGES=1
46
44
 
 
45
from io import StringIO
47
46
import os
48
47
import platform
49
48
import pprint
58
57
    plugin,
59
58
    trace,
60
59
    )
61
 
from .sixish import (
62
 
    StringIO,
63
 
    )
64
60
 
65
61
 
66
62
def report_bug(exc_info, stderr):