~abentley/bzrtools/bzrtools.dev

« back to all changes in this revision

Viewing changes to graph.py

  • Committer: Robert Collins
  • Date: 2006-03-07 23:37:14 UTC
  • mfrom: (147.1.71 bzrtools)
  • mto: (364.1.3 bzrtools)
  • mto: This revision was merged to the branch mainline in revision 366.
  • Revision ID: robertc@robertcollins.net-20060307233714-79a35108099f3766
MergeĀ fromĀ ab-baz2bzr.

Show diffs side-by-side

added added

removed removed

Lines of Context:
272
272
    elif ext == 'dot' and not done:
273
273
        my_file = file(filename, 'wb')
274
274
        for fragment in output:
275
 
            my_file.write(fragment)
 
275
            my_file.write(fragment.encode('utf-8'))
276
276
    elif ext == 'html':
277
277
        try:
278
278
            invoke_dot_html(output, filename)