Fixed bug in oscapi/get_meta API
authorEd Bartosh <eduard.bartosh@intel.com>
Wed, 3 Apr 2013 15:35:22 +0000 (18:35 +0300)
committerGerrit Code Review <gerrit2@otctools.jf.intel.com>
Thu, 4 Apr 2013 06:30:29 +0000 (23:30 -0700)
This is actually a typo. I had this in the code, but somehow lost in
comit :(

Change-Id: If5699c4f2373563979dd965d8d0e780429ca71c9
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
gitbuildsys/oscapi.py

index d11e36f..d31d202 100644 (file)
@@ -347,7 +347,7 @@ class OSC(object):
         """Get project/package meta."""
         metatype, path_args = self.get_path(prj, pkg)
         url = core.make_meta_url(metatype, path_args, self.apiurl)
-        return self.core_http(core.http_GET, url)
+        return self.core_http(core.http_GET, url).read()
 
     def set_meta(self, meta, prj, pkg=None):
         """Set project/package meta."""