~abentley/bzrtools/bzrtools.dev

« back to all changes in this revision

Viewing changes to graph.py

  • Committer: Aaron Bentley
  • Date: 2005-09-22 21:01:32 UTC
  • Revision ID: abentley@panoramicfeedback.com-20050922210131-3f39e137fff688b9
Fixed output handling for non-antialiased types

Show diffs side-by-side

added added

removed removed

Lines of Context:
210
210
    ext = filename.split('.')[-1]
211
211
    output = dot_output(relations, ranking)
212
212
    done = False
213
 
    if antialias and ext in RSVG_OUTPUT_TYPES:
 
213
    if ext not in RSVG_OUTPUT_TYPES:
 
214
        antialias = False
 
215
    if antialias: 
214
216
        output = list(output)
215
217
        try:
216
218
            invoke_dot_aa(output, filename, ext)