~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/trace.py

  • Committer: Robey Pointer
  • Date: 2006-09-08 18:46:29 UTC
  • mto: This revision was merged to the branch mainline in revision 1996.
  • Revision ID: robey@lag.net-20060908184629-e3fc4c61ca21508c
pychecker is on crack; go back to using 'is None'.

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 (getattr(_trace_file, 'closed', None) != None) 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):