From 46f3f929bcdd652c4b28e60648b38c45c7d10348 Mon Sep 17 00:00:00 2001 From: Stefano Rivera Date: Sat, 10 Sep 2011 16:06:56 +0200 Subject: [PATCH] Native syncs won't have changes files --- ubuntutools/requestsync/lp.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ubuntutools/requestsync/lp.py b/ubuntutools/requestsync/lp.py index 9111cfc..b6067da 100644 --- a/ubuntutools/requestsync/lp.py +++ b/ubuntutools/requestsync/lp.py @@ -108,7 +108,8 @@ def get_ubuntu_delta_changelog(srcpkg): for record in spph: changes_url = record.changesFileUrl() if changes_url is None: - continue + # Native sync + break changes = Changes(urllib2.urlopen(changes_url)) for line in changes['Changes'].splitlines(): line = line[1:]