Make syncpackage print a warning when --no-lp is used

This commit is contained in:
Stefano Rivera 2011-12-07 01:23:06 +02:00
parent 73f2273d71
commit 8178324266

View File

@ -634,6 +634,12 @@ def main():
ubuntu = Launchpad.distributions["ubuntu"]
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
if options.sponsoree:
try: