[dak/master] glob wants a * less or it fails in cases where maintainers have stupid debian/changelogs subdirs
Signed-off-by: Joerg Jaspert <joerg@debian.org>
---
dak/make_changelog.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dak/make_changelog.py b/dak/make_changelog.py
index 6d33e05..0a76bcc 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)))
--
1.5.6.5
Reply to: