1
0
mirror of https://github.com/openSUSE/osc.git synced 2024-11-10 06:46:15 +01:00

don't abort osc sr -d due to wrong develproject

This commit is contained in:
Ludwig Nussel 2010-02-02 14:38:50 +01:00
parent 010b55020e
commit f635b50e3b

View File

@ -850,11 +850,12 @@ Warning: failed to fetch meta data for '%s' package '%s' (new package?) """ \
dst_project != devloc and \
src_project != devloc:
print """\
Sorry, but a different project, %s, is defined as the place where development
A different project, %s, is defined as the place where development
of the package %s primarily takes place.
Please submit there instead, or use --nodevelproject to force direct submission.""" \
% (devloc, dst_package)
sys.exit(1)
if not opts.diff:
sys.exit(1)
rdiff = None
if opts.diff or not opts.message: