From 473785a0a52c1d84976ba6a8191bdeb1f5c337f2 Mon Sep 17 00:00:00 2001 From: Luca Falavigna Date: Mon, 20 May 2013 22:51:16 +0000 Subject: [PATCH] Fix glob regex, which generated wrong filenames Signed-off-by: Luca Falavigna --- dak/make_changelog.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dak/make_changelog.py b/dak/make_changelog.py index 1f1b1ca3..7d3132eb 100755 --- a/dak/make_changelog.py +++ b/dak/make_changelog.py @@ -201,7 +201,7 @@ def export_files(session, archive, clpool, progress=False): unpack[os.path.join(pool, sources[p][s][1])] = (path, set()) unpack[os.path.join(pool, sources[p][s][1])][1].add(s) else: - for file in glob('%s/%s_%s*' % (path, p, sources[p][s][0])): + for file in glob('%s/%s_%s_*' % (path, p, sources[p][s][0])): link = '%s%s' % (s, file.split('%s_%s' \ % (p, sources[p][s][0]))[1]) try: -- 2.39.5