projects
/
mdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Support non-ascii character when downloading patches
[mdk.git]
/
mdk
/
jira.py
diff --git
a/mdk/jira.py
b/mdk/jira.py
index
a119b17
..
4c9884b
100644
(file)
--- a/
mdk/jira.py
+++ b/
mdk/jira.py
@@
-111,7
+111,7
@@
class Jira(object):
data = r.text
if len(data) > 0:
f = open(dest, 'w')
- f.write(data)
+ f.write(data
.encode('utf8')
)
f.close()
return os.path.isfile(dest)