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:
parent
b85beda33b
commit
e89bc8197b
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user