X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=dak%2Fmake_changelog.py;h=ad6dbab1a80173857072918b0da7fd03fe6366a5;hb=27e00376e81d1c37ff327ee0d39670b266418869;hp=398c3526a54c4f3721be5b7362afc3769c87a3be;hpb=b8690d6b1256a4a95198b874d9eb1aab62a825fb;p=dak.git diff --git a/dak/make_changelog.py b/dak/make_changelog.py index 398c3526..ad6dbab1 100755 --- a/dak/make_changelog.py +++ b/dak/make_changelog.py @@ -160,7 +160,7 @@ def display_changes(uploads, index): print upload[index] prev_upload = upload[0] -def export_files(session, pool, clpool, temppath): +def export_files(session, pool, clpool): """ Export interesting files from source packages. """ @@ -225,7 +225,7 @@ def export_files(session, pool, clpool, temppath): os.link(version, suite) stats['created'] += 1 unpacked.cleanup() - except Exception, e: + except Exception as e: print 'make-changelog: unable to unpack %s\n%s' % (p, e) stats['errors'] += 1 @@ -282,7 +282,7 @@ def main(): if export: if cnf.exportpath: exportpath = os.path.join(Cnf['Dir::Export'], cnf.exportpath) - export_files(session, Cnf['Dir::Pool'], exportpath, Cnf['Dir::TempPath']) + export_files(session, Cnf['Dir::Pool'], exportpath) else: utils.fubar('No changelog export path defined') elif binnmu: