mirror of
https://github.com/openSUSE/osc.git
synced 2025-01-14 01:26:23 +01:00
don't abort osc sr -d due to wrong develproject
This commit is contained in:
parent
010b55020e
commit
f635b50e3b
@ -850,11 +850,12 @@ Warning: failed to fetch meta data for '%s' package '%s' (new package?) """ \
|
|||||||
dst_project != devloc and \
|
dst_project != devloc and \
|
||||||
src_project != devloc:
|
src_project != devloc:
|
||||||
print """\
|
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.
|
of the package %s primarily takes place.
|
||||||
Please submit there instead, or use --nodevelproject to force direct submission.""" \
|
Please submit there instead, or use --nodevelproject to force direct submission.""" \
|
||||||
% (devloc, dst_package)
|
% (devloc, dst_package)
|
||||||
sys.exit(1)
|
if not opts.diff:
|
||||||
|
sys.exit(1)
|
||||||
|
|
||||||
rdiff = None
|
rdiff = None
|
||||||
if opts.diff or not opts.message:
|
if opts.diff or not opts.message:
|
||||||
|
Loading…
Reference in New Issue
Block a user