def run(self):
        """
        fetch artefacts
        """
        source_path = self.workflow.source.path
        sources_file_path = os.path.join(source_path, 'sources')
        artefacts = ""
        try:
            with open(sources_file_path, 'r') as f:
                artefacts = f.read()
                self.log.info('sources file:\n%s', artefacts)
        except __HOLE__ as ex:
            if ex.errno == 2:
                self.log.info("no sources file")
            else:
                raise
        else:
            cur_dir = os.getcwd()
            os.chdir(source_path)
            subprocess.check_call(self.command.split())
            os.chdir(cur_dir)
        return artefacts
dataset/ETHPy150Open projectatomic/atomic-reactor/atomic_reactor/plugins/pre_pyrpkg_fetch_artefacts.py/DistgitFetchArtefactsPlugin.run