Coverage for /home/ubuntu/ubuntu-make/umake/frameworks/dart : 90%
Hot-keys on this page
r m x p toggle line displays
j k next/prev highlighted chunk
0 (zero) top of page
1 (one) first highlighted chunk
|
# -*- coding: utf-8 -*- # Copyright (C) 2014 Canonical # # Authors: # Didier Roche # # This program is free software; you can redistribute it and/or modify it under # the terms of the GNU General Public License as published by the Free Software # Foundation; version 3. # # This program is distributed in the hope that it will be useful, but WITHOUT # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS # FOR A PARTICULAR PURPOSE. See the GNU General Public License for more # details. # # You should have received a copy of the GNU General Public License along with # this program; if not, write to the Free Software Foundation, Inc., # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
download_page=None, category=category, only_on_archs=_supported_archs, only_for_removal=True)
category=category, only_on_archs=_supported_archs, download_page="https://api.dartlang.org", dir_to_decompress_in_tarball="dart-sdk", required_files_path=[os.path.join("bin", "dart")])
def get_metadata_and_check_license(self, result): """Get latest version and append files to download"""
logger.error("An error occurred while downloading {}: {}".format(self.download_page, error_msg)) UI.return_main_screen(status_code=1)
else: logger.error("Download page changed its syntax or is not parsable") UI.return_main_screen(status_code=1)
tag_machine = 'ia32'
.format(version, tag_machine)
"""Add go necessary env variables""" "to work properly").format(self.name))) |