Show
Ignore:
Timestamp:
11/03/08 16:09:40 (3 years ago)
Author:
lgs
Message:

Makes pyflakes happier

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/examples/barchart.py

    r85 r136  
    6767 
    6868if __name__ == '__main__': 
    69     output = sys.argv[1] if len(sys.argv) > 1 else 'barchart.png' 
     69    if len(sys.argv) > 1: 
     70        output = sys.argv[1] 
     71    else: 
     72        output = 'barchart.png' 
    7073    barChart('v' + output, pycha.bar.VerticalBarChart) 
    7174    barChart('h' + output, pycha.bar.HorizontalBarChart)