1
0
mirror of https://github.com/openSUSE/osc.git synced 2024-12-24 17:16:12 +01:00

- fix error message

This commit is contained in:
Adrian Schröter 2011-06-06 14:43:01 +02:00
parent 946ac03dae
commit 9d6da6700e

View File

@ -2877,7 +2877,7 @@ Please submit there instead, or use --nodevelproject to force direct submission.
elif (not opts.recursive) and len(meta_get_packagelist(apiurl, prj)) >= 1:
print >>sys.stderr, 'Project contains packages. It must be empty before deleting it. ' \
'If you are sure that you want to remove this project and all its ' \
'packages use the \'--with-packages\' switch.'
'packages use the \'--recursive\' switch.'
sys.exit(1)
else:
delete_project(apiurl, prj, opts.force, msg)