From 91bad45ec1f551c5c238c7e52abd40a7b7d2bd0b Mon Sep 17 00:00:00 2001 From: Colin Watson Date: Tue, 16 Aug 2011 15:45:33 +0100 Subject: [PATCH] .dsc syncs only work with --no-lp --- syncpackage | 3 +++ 1 file changed, 3 insertions(+) diff --git a/syncpackage b/syncpackage index 65cea03..79e94a6 100755 --- a/syncpackage +++ b/syncpackage @@ -437,6 +437,9 @@ def main(): options.uploader_email = ubu_email(export=False)[1] if options.lp: + if args[0].endswith('.dsc'): + parser.error('.dsc files can only be synced using --no-lp.') + # We need devel for now. api_version = 'devel'