mirror of
https://github.com/openSUSE/osc.git
synced 2024-11-10 06:46:15 +01:00
ups ...
This commit is contained in:
parent
48e96a96fb
commit
ab73a24162
@ -1623,7 +1623,7 @@ Please submit there instead, or use --nodevelproject to force direct submission.
|
||||
|
||||
elif project:
|
||||
prj_dir = project
|
||||
if sys.repository[:3] == 'win':
|
||||
if sys.platform[:3] == 'win':
|
||||
prj_dir = prj_dir.replace(':', ';')
|
||||
if os.path.exists(prj_dir):
|
||||
sys.exit('osc: project \'%s\' already exists' % project)
|
||||
|
Loading…
Reference in New Issue
Block a user