~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/trace.py

  • Committer: John Arbash Meinel
  • Date: 2006-09-15 00:44:57 UTC
  • mfrom: (2009 +trunk)
  • mto: This revision was merged to the branch mainline in revision 2050.
  • Revision ID: john@arbash-meinel.com-20060915004457-902cec0526a39337
[merge] bzr.dev 2009

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):