Changeset 252

Show
Ignore:
Timestamp:
Thu Apr 27 17:03:10 2006
Author:
drew
Message:

- bug fix in xix-coverage.py script

Files:

Legend:

Unmodified
Added
Removed
Modified
  • trunk/scripts/xix-coverage.py

    r251 r252  
    146 146     generateXML(reportdir, opts.source, opts.annotation_xslt)  
    147 147     generateIndex(reportdir, opts.source, opts.report_xslt)  
      148     # Copy over html assets (.png, .css files etc.)  
    148 149     for asset in options.html_assets:  
    149 150         copy2(asset, reportdir)  
     
    173 174             help='comma-separated list of css, image files etc. to copy to report directory')  
    174 175     options, args = parser.parse_args()  
    175       options.depends = options.depends.split(',')  
      176     options.depends = [ _path(p) for p in options.depends.split(',') ]  
    175 176     options.exclude_dirs = options.exclude_dirs.split(',')  
    176 177     if options.report_xslt:  
    177           options.report_xslt = os.path.abspath(options.report_xslt)  
      178         options.report_xslt = os.path.abspath(_path(options.report_xslt))  
    177 178     if options.annotation_xslt:  
    178           options.annotation_xslt = os.path.abspath(options.annotation_xslt)  
      179         options.annotation_xslt = os.path.abspath(_path(options.annotation_xslt))  
    178 179     if options.html_assets:  
    179           options.html_assets = [ os.path.abspath(a) for a in options.html_assets.split(',') ]  
      180         options.html_assets = [ os.path.abspath(_path(a)) for a in options.html_assets.split(',') ]  
      181     else:  
      182         options.html_assets = []  
    180 183     main(options)  
    181 184