/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/lsprof.py

  • Committer: Aaron Bentley
  • Date: 2006-09-09 18:52:57 UTC
  • mfrom: (1996 +trunk)
  • mto: This revision was merged to the branch mainline in revision 1997.
  • Revision ID: aaron.bentley@utoronto.ca-20060909185257-ce0ee03ee5125ff1
Merge bzr.dev

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 not hasattr(v, '__file__'):
 
168
            if getattr(v, '__file__', None) is None:
169
169
                continue
170
170
            if not isinstance(v.__file__, str):
171
171
                continue