~abentley/bzrtools/bzrtools.dev

« back to all changes in this revision

Viewing changes to dotgraph.py

  • Committer: Aaron Bentley
  • Date: 2006-02-21 04:04:27 UTC
  • Revision ID: aaron.bentley@utoronto.ca-20060221040427-70ecc1e24f2c4e80
forced ancestry graph to use utf-8 Dot output

Show diffs side-by-side

added added

removed removed

Lines of Context:
213
213
        else:
214
214
            raise
215
215
    for line in input:
216
 
        dot_proc.stdin.write(line)
 
216
        dot_proc.stdin.write(line.encode('utf-8'))
217
217
    dot_proc.stdin.close()
218
218
    return dot_proc.wait()
219
219