~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/lsprof.py

  • Committer: Blake Winton
  • Date: 2007-10-16 18:26:12 UTC
  • mto: This revision was merged to the branch mainline in revision 2921.
  • Revision ID: bwinton@latte.ca-20071016182612-e06wjvlzzdw0vwki
Fix test failures

Show diffs side-by-side

added added

removed removed

Lines of Context:
190
190
            out_file.write('fi=%s\n' % (code.co_filename,))
191
191
        out_file.write('fn=%s\n' % (label(code, True),))
192
192
        if isinstance(code, str):
193
 
            out_file.write('0  ' + inlinetime + '\n')
 
193
            out_file.write('0  %s\n' % (inlinetime,))
194
194
        else:
195
195
            out_file.write('%d %d\n' % (code.co_firstlineno, inlinetime))
196
196
        # recursive calls are counted in entry.calls