[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[dak/master] Join cnf.exportpath into a temp variable



Signed-off-by: Luca Falavigna <dktrkranz@debian.org>
---
 dak/make_changelog.py |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dak/make_changelog.py b/dak/make_changelog.py
index c9dfa72..8fa172f 100755
--- a/dak/make_changelog.py
+++ b/dak/make_changelog.py
@@ -267,8 +267,8 @@ def main():
 
     if export:
         if cnf.exportpath:
-            cnf.exportpath = os.path.join(Cnf['Dir::Export'], cnf.exportpath)
-            export_files(session, Cnf['Dir::Pool'], cnf.exportpath, Cnf['Dir::TempPath'])
+            exportpath = os.path.join(Cnf['Dir::Export'], cnf.exportpath)
+            export_files(session, Cnf['Dir::Pool'], exportpath, Cnf['Dir::TempPath'])
         else:
             utils.fubar('No changelog export path defined')
     elif binnmu:
-- 
1.5.6.5


Reply to: