diff --git a/checkin_notes b/checkin_notes index 7674b01411..1c37d15035 100644 --- a/checkin_notes +++ b/checkin_notes @@ -797,3 +797,11 @@ David 15 Feb 2011 sched/ file_upload_handler.cpp + +David 15 Feb 2011 + - update_versions: if FILE.file_ref_info contains , + use that instead of physical name. + This lets you have logical names with slashes + + py/Boinc/ + tools.py diff --git a/py/Boinc/tools.py b/py/Boinc/tools.py index d432114bd8..03f60a5f96 100644 --- a/py/Boinc/tools.py +++ b/py/Boinc/tools.py @@ -238,15 +238,18 @@ def process_app_version( first = True for exec_file in exec_files + non_exec_files: file_base = os.path.basename(exec_file) + extra = file_ref_infos.get(exec_file) open_name = get_kludge_open_name(file_base) + if extra and '' in extra: + open_name = False; url_filename = get_kludge_url_filename(file_base) xml_doc += ' \n' xml_doc += ' %s\n' % url_filename if first: xml_doc += ' \n' else: - xml_doc += ' %s\n' % open_name - extra = file_ref_infos.get(exec_file) + if open_name: + xml_doc += ' %s\n' % open_name if extra: if not extra.endswith('\n'): extra += '\n'