From 06e99163b927ed02096fd144e7b909a495337082 Mon Sep 17 00:00:00 2001 From: Luca Falavigna Date: Mon, 29 Apr 2013 13:01:31 +0000 Subject: [PATCH] archive must not be a string --- dak/make_changelog.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dak/make_changelog.py b/dak/make_changelog.py index b904deaa..8f7453c9 100755 --- a/dak/make_changelog.py +++ b/dak/make_changelog.py @@ -322,8 +322,8 @@ def main(): session = DBConn().session() if export: - (archive, exportpath) = session.query(Archive.archive_name, Archive.changelog). \ - filter_by(archive_name=Options['Archive']).one() + archive = session.query(Archive).filter_by(archive_name=Options['Archive']).one() + exportpath = archive.changelog if exportpath: export_files(session, archive, exportpath, progress) generate_export_filelist(exportpath) -- 2.39.5