~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/trace.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2010-03-02 14:46:17 UTC
  • mfrom: (5055.4.3 trivial)
  • Revision ID: pqm@pqm.ubuntu.com-20100302144617-2vtu14t81e3acd8f
(vila, for doxxx) Fix trace.show_error signature

Show diffs side-by-side

added added

removed removed

Lines of Context:
145
145
    _bzr_logger.error(*args, **kwargs)
146
146
 
147
147
 
148
 
def show_error(msg):
 
148
def show_error(*args, **kwargs):
149
149
    """Show an error message to the user.
150
150
 
151
151
    Don't use this for exceptions, use report_exception instead.