.dsc syncs only work with --no-lp

This commit is contained in:
Colin Watson 2011-08-16 15:45:33 +01:00
parent fdfef34b37
commit 91bad45ec1

View File

@ -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'