1
0
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:
Marco Strigl 2019-04-16 17:00:16 +02:00 committed by GitHub
commit 1ad7f4607d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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: