From: Unit 193 Date: Fri, 17 Dec 2021 00:58:11 +0000 (-0500) Subject: uscan: Remove pre-devscripts 2.10.70 compat code X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f268448bc6b2655886409ded56f9fba1bcf5a74b;p=tools%2Fgit-buildpackage.git uscan: Remove pre-devscripts 2.10.70 compat code We can rely on the element being present in dehs output. The output it looks for from uscan no longer matches anyway. --- diff --git a/gbp/deb/uscan.py b/gbp/deb/uscan.py index 4eb70a6b..1757ddb3 100644 --- a/gbp/deb/uscan.py +++ b/gbp/deb/uscan.py @@ -69,16 +69,6 @@ class Uscan(object): if m: source = '../%s' % m.group(1) break - elif row.startswith(''): - m = re.match(r".*symlinked ([^\s]+) to it", row) - if m: - source = "../%s" % m.group(1) - break - m = re.match(r"Successfully downloaded updated package " - "([^<]+)", row) - if m: - source = "../%s" % m.group(1) - break # Try to determine the already downloaded sources name else: d = {}