1
0
mirror of https://github.com/openSUSE/osc.git synced 2024-11-10 06:46:15 +01:00
This commit is contained in:
Adrian Schröter 2009-09-08 11:16:21 +00:00
parent 48e96a96fb
commit ab73a24162

View File

@ -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)