~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/lsprof.py

  • Committer: Martin Pool
  • Date: 2006-08-15 13:19:12 UTC
  • mfrom: (1923 +trunk)
  • mto: This revision was merged to the branch mainline in revision 1925.
  • Revision ID: mbp@sourcefrog.net-20060815131912-7bbc6d387bb32d16
[merge] bzr.dev

Show diffs side-by-side

added added

removed removed

Lines of Context:
162
162
    try:
163
163
        mname = _fn2mod[code.co_filename]
164
164
    except KeyError:
165
 
        for k, v in sys.modules.iteritems():
 
165
        for k, v in sys.modules.items():
166
166
            if v is None:
167
167
                continue
168
168
            if not hasattr(v, '__file__'):