[Bf-committers] B.doc_build_dir[-1]

Timothy Baldridge tbaldridge at gmail.com
Tue Oct 21 20:51:32 CEST 2008


In SConstruct, I get this error:

<type 'exceptions.IndexError'>: string index out of range:
  File "SConstruct", line 287:
    if not B.doc_build_dir[-1]==os.sep:

 Is it really possible to do this in Python? Negative subscripts?
Seems like a lazy hack if anything....

Timothy

-- 
Two wrights don't make a rong, they make an airplane. Or bicycles.


More information about the Bf-committers mailing list