~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/lsprof.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:
165
165
        for k, v in sys.modules.items():
166
166
            if v is None:
167
167
                continue
168
 
            if getattr(v, '__file__', None) == None:
 
168
            if getattr(v, '__file__', None) is None:
169
169
                continue
170
170
            if not isinstance(v.__file__, str):
171
171
                continue