1
0
mirror of https://github.com/openSUSE/osc.git synced 2025-01-24 13:56:13 +01:00

- fixed #52 ("osc dumps on ci")

This commit is contained in:
Marcus Huewe 2013-10-22 13:49:14 +02:00
parent b85beda33b
commit e89bc8197b

View File

@ -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()