1
0
mirror of https://github.com/openSUSE/osc.git synced 2025-01-27 07:06:13 +01:00

Merge pull request #673 from lethliel/fix_non_colon_checkout_on_prj_level

fix checkout_no_colon on project level
This commit is contained in:
Marco Strigl 2020-02-07 09:27:00 +01:00 committed by GitHub
commit 9449745b5e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4524,6 +4524,8 @@ Please submit there instead, or use --nodevelproject to force direct submission.
elif project:
prj_dir = opts.output_dir if opts.output_dir else project
if not opts.output_dir and conf.config['checkout_no_colon']:
prj_dir = prj_dir.replace(':', '/')
if sys.platform[:3] == 'win':
prj_dir = prj_dir.replace(':', ';')
if os.path.exists(prj_dir):