From 851e96ea23e6102b6b05ba5b2eff2dfcab02f453 Mon Sep 17 00:00:00 2001 From: Benjamin Drung Date: Mon, 22 Nov 2010 01:30:36 +0100 Subject: [PATCH] ack-sync: Fix typo and skip upload check for new packages. --- ack-sync | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ack-sync b/ack-sync index 607645e..e39c128 100755 --- a/ack-sync +++ b/ack-sync @@ -212,9 +212,12 @@ def main(bug_numbers, all_package, all_version, all_section, update, distroseries=series, person=launchpad.me, pocket='Release', sourcepackagename=package) can_upload = True - except lazr.restfulclient.errors.HTTPErro, e: + except lazr.restfulclient.errors.HTTPError, e: if e.response.status == 403: can_upload = False + elif e.response.status == 400: + print "W: Package is probably not in Ubuntu. Can't check upload rights." + can_upload = True else: raise e if not can_upload: