equal
deleted
inserted
replaced
615 res = [(cf_main_path, local_canfestival_config.getCFLAGS(CanFestivalPath))], local_canfestival_config.getLDFLAGS(CanFestivalPath), True |
615 res = [(cf_main_path, local_canfestival_config.getCFLAGS(CanFestivalPath))], local_canfestival_config.getLDFLAGS(CanFestivalPath), True |
616 |
616 |
617 if can_driver is not None: |
617 if can_driver is not None: |
618 can_driver_path = os.path.join(CanFestivalPath, "drivers", can_driver, can_driver_name) |
618 can_driver_path = os.path.join(CanFestivalPath, "drivers", can_driver, can_driver_name) |
619 if os.path.exists(can_driver_path): |
619 if os.path.exists(can_driver_path): |
620 res += ((can_driver_name, file(can_driver_path, "rb")),) |
620 res += ((can_driver_name, open(can_driver_path, "rb")),) |
621 |
621 |
622 return res |
622 return res |