~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/trace.py

Merge bzr.dev.

Show diffs side-by-side

added added

removed removed

Lines of Context:
93
93
def mutter(fmt, *args):
94
94
    if _trace_file is None:
95
95
        return
96
 
    if hasattr(_trace_file, 'closed') and _trace_file.closed:
 
96
    if (getattr(_trace_file, 'closed', None) is not None) and _trace_file.closed:
97
97
        return
98
98
 
99
99
    if isinstance(fmt, unicode):