From: Joerg Jaspert Date: Wed, 16 Feb 2011 22:05:47 +0000 (+0100) Subject: glob wants a * less or it fails in cases where maintainers have stupid debian/changel... X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8dfa20048e9ac0ef17d6d9c5096d527e05081fa3;p=dak glob wants a * less or it fails in cases where maintainers have stupid debian/changelogs subdirs Signed-off-by: Joerg Jaspert --- diff --git a/dak/make_changelog.py b/dak/make_changelog.py index 6d33e052..0a76bcc1 100755 --- a/dak/make_changelog.py +++ b/dak/make_changelog.py @@ -212,7 +212,7 @@ def export_files(session, pool, clpool, temppath): if not result: stats['unpack'] += 1 for file in files: - for f in glob(os.path.join(tempdir, 'debian', '*%s*' % file)): + for f in glob(os.path.join(tempdir, 'debian', '*%s' % file)): for s in unpack[p][1]: suite = os.path.join(unpack[p][0], '%s.%s' \ % (s, os.path.basename(f)))