]> git.decadent.org.uk Git - dak.git/commitdiff
glob wants a * less or it fails in cases where maintainers have stupid debian/changel...
authorJoerg Jaspert <joerg@debian.org>
Wed, 16 Feb 2011 22:05:47 +0000 (23:05 +0100)
committerJoerg Jaspert <joerg@debian.org>
Wed, 16 Feb 2011 22:05:47 +0000 (23:05 +0100)
Signed-off-by: Joerg Jaspert <joerg@debian.org>
dak/make_changelog.py

index 6d33e0529e15e722b7a823a4c590ad0222416fc0..0a76bcc1118d7f80cef661a461a6fae6bf6053c6 100755 (executable)
@@ -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)))