mirror of
https://github.com/openSUSE/osc.git
synced 2024-11-12 23:56:13 +01:00
Merge pull request #531 from lethliel/fix_addGitSource_issue_507
[python3] fix decoding in addGitSource
This commit is contained in:
commit
1ad7f4607d
@ -7058,7 +7058,7 @@ def addGitSource(url):
|
||||
|
||||
# for pretty output
|
||||
xmlindent(s)
|
||||
f = open(service_file, 'wb')
|
||||
f = open(service_file, 'w')
|
||||
f.write(ET.tostring(s, encoding=ET_ENCODING))
|
||||
f.close()
|
||||
if addfile:
|
||||
|
Loading…
Reference in New Issue
Block a user