From e89bc8197b05c2724f6881dbb47fe46590c4cf3c Mon Sep 17 00:00:00 2001 From: Marcus Huewe Date: Tue, 22 Oct 2013 13:49:14 +0200 Subject: [PATCH] - fixed #52 ("osc dumps on ci") --- osc/core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/osc/core.py b/osc/core.py index 9e671d1a..394fbfcd 100644 --- a/osc/core.py +++ b/osc/core.py @@ -6325,7 +6325,7 @@ def get_commit_message_template(pac): if pac.status(filename) == 'M': diff += get_source_file_diff(pac.absdir, filename, pac.rev) elif pac.status(filename) == 'A': - f = open(filename, 'r') + f = open(os.path.join(pac.absdir, filename), 'r') for line in f: diff += '+' + line f.close()