Change-Id: I7ae088c64d6e5315488b79b01c418860acdd833c
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
self._http = http
def get_key_val_from_pkg(self, descriptor_file):
- utils.get_key_val_from_pkg(descriptor_file)
+ return utils.get_key_val_from_pkg(descriptor_file)
def upload(self, filename):
pkg_type = utils.get_key_val_from_pkg(filename)
get_method(pkg_type['name'])))
def get_key_val_from_pkg(self, descriptor_file):
- utils.get_key_val_from_pkg(descriptor_file)
+ return utils.get_key_val_from_pkg(descriptor_file)
def wait_for_upload(self, filename):
"""wait(block) for an upload to succeed.