mirror of
https://git.launchpad.net/ubuntu-dev-tools
synced 2025-07-27 14:51:29 +00:00
Make syncpackage print a warning when --no-lp is used
This commit is contained in:
parent
73f2273d71
commit
8178324266
@ -634,6 +634,12 @@ def main():
|
|||||||
ubuntu = Launchpad.distributions["ubuntu"]
|
ubuntu = Launchpad.distributions["ubuntu"]
|
||||||
options.release = ubuntu.current_series.name
|
options.release = ubuntu.current_series.name
|
||||||
|
|
||||||
|
if not options.fakesync and not options.lp:
|
||||||
|
Logger.warn("The use of --no-lp is not recommended for uploads "
|
||||||
|
"targeted at Ubuntu. "
|
||||||
|
"The archive-admins discourage its use, except for "
|
||||||
|
"fakesyncs.")
|
||||||
|
|
||||||
sponsoree = None
|
sponsoree = None
|
||||||
if options.sponsoree:
|
if options.sponsoree:
|
||||||
try:
|
try:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user