From 81783242663a4b23face4c8b99ae70c05ed93624 Mon Sep 17 00:00:00 2001 From: Stefano Rivera Date: Wed, 7 Dec 2011 01:23:06 +0200 Subject: [PATCH] Make syncpackage print a warning when --no-lp is used --- syncpackage | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/syncpackage b/syncpackage index 24d483a..45c34fe 100755 --- a/syncpackage +++ b/syncpackage @@ -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: