projects
/
tools
/
gbs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7989015
)
convert config data as string while putting to OBS
author
Zhang Qiang
<qiang.z.zhang@intel.com>
Mon, 20 Aug 2012 07:28:41 +0000
(15:28 +0800)
committer
Zhang Qiang
<qiang.z.zhang@intel.com>
Mon, 20 Aug 2012 07:28:41 +0000
(15:28 +0800)
This will cause exception/backtrace with some system. fix #240
gitbuildsys/oscapi.py
patch
|
blob
|
history
diff --git
a/gitbuildsys/oscapi.py
b/gitbuildsys/oscapi.py
index
5eb337c
..
7153fe9
100644
(file)
--- a/
gitbuildsys/oscapi.py
+++ b/
gitbuildsys/oscapi.py
@@
-128,7
+128,7
@@
class OSC(object):
url = core.make_meta_url("prjconf", quote_plus(target),
self.apiurl, False)
try:
- self.core_http(core.http_PUT, url, data=
config
)
+ self.core_http(core.http_PUT, url, data=
''.join(config)
)
except OSCError, err:
raise OSCError("can't copy config from %s to %s: %s" \
% (src, target, err))