Did I find the right examples for you? yes no

All Samples(109)  |  Call(109)  |  Derive(0)  |  Import(0)

src/o/e/oe-core-HEAD/scripts/lib/mic/plugins/backend/zypppkgmgr.py   oe-core(Download)
        # check LICENSE files
        if not rpmmisc.checkRepositoryEULA(name, repo):
            msger.warning('skip repo:%s for failed EULA confirmation' % name)
            return None
 
                    dlpkgs.append(ditem)
                else:
                    msger.warning("No debuginfo rpm found for: %s" \
                                  % item.name())
 
 
            for problem in probs:
                msger.warning("repo problem: %s, %s" \
                              % (problem.description().decode("utf-8"),
                                 problem.details().decode("utf-8")))
                                                     os.path.basename(pkg))
            if warnmsg:
                msger.warning(warnmsg)
 
            os.unlink(solvfile)
        else:
            msger.warning('Can not get %s solv data.' % pkg)

src/o/e/oe-core-HEAD/scripts/lib/mic/plugins/backend/yumpkgmgr.py   oe-core(Download)
                        self.tsInfo.conditionals[req] = pkgs
        else:
            msger.warning("No such package %s to remove" %(pkg,))
 
    def selectGroup(self, grp, include = ksparser.GROUP_DEFAULT):
        # check LICENSE files
        if not rpmmisc.checkRepositoryEULA(name, repo):
            msger.warning('skip repo:%s for failed EULA confirmation' % name)
            return None
 
                continue
            if not self.verifyPkg(local, po, False):
                msger.warning("Package %s is damaged: %s" \
                              % (os.path.basename(local), local))
            else:
                # This isn't fatal, Ubuntu has this issue but it is ok.
                msger.debug(deps)
                msger.warning("Dependency check failed!")
 
            rc = self.ts.order()
            cb.filelog = False
 
            msger.warning('\nCaution, do NOT interrupt the installation, '
                          'else mic cannot finish the cleanup.')
 

src/m/i/mic-HEAD/plugins/backend/zypppkgmgr.py   mic(Download)
        # check LICENSE files
        if not rpmmisc.checkRepositoryEULA(name, repo):
            msger.warning('skip repo:%s for failed EULA confirmation' % name)
            return None
 
 
            for problem in probs:
                msger.warning("repo problem: %s, %s" \
                              % (problem.description().decode("utf-8"),
                                 problem.details().decode("utf-8")))
                                                     os.path.basename(pkg))
            if warnmsg:
                msger.warning(warnmsg)
 
            os.unlink(solvfile)
        else:
            msger.warning('Can not get %s solv data.' % pkg)
 
        else:
            msger.warning("Cannot add package %s to transaction. "
                          "Not a compatible architecture: %s" \
                          % (pkg, hdr['arch']))

src/m/i/mic-HEAD/plugins/backend/yumpkgmgr.py   mic(Download)
                        self.tsInfo.conditionals[req] = pkgs
        else:
            msger.warning("No such package %s to remove" %(pkg,))
 
    def selectGroup(self, grp, include = ksparser.GROUP_DEFAULT):
        # check LICENSE files
        if not rpmmisc.checkRepositoryEULA(name, repo):
            msger.warning('skip repo:%s for failed EULA confirmation' % name)
            return None
 
                continue
            if not self.verifyPkg(local, po, False):
                msger.warning("Package %s is damaged: %s" \
                              % (os.path.basename(local), local))
            else:
                # This isn't fatal, Ubuntu has this issue but it is ok.
                msger.debug(deps)
                msger.warning("Dependency check failed!")
 
            rc = self.ts.order()
            cb.filelog = False
 
            msger.warning('\nCaution, do NOT interrupt the installation, '
                          'else mic cannot finish the cleanup.')
 

src/o/e/oe-core-HEAD/scripts/lib/mic/utils/rpmmisc.py   oe-core(Download)
    # Asking for the "Accept/Decline"
    if not msger.ask('Would you agree to the terms and conditions outlined in the above End User License Agreement?'):
        msger.warning('Will not install pkgs from this repo.')
        shutil.rmtree(repo_lic_dir) #cleanup
        return False

src/m/i/mic-HEAD/mic/utils/rpmmisc.py   mic(Download)
from urlgrabber import grabber, __version__ as grabber_version
if rpm.labelCompare(grabber_version.split('.'), '3.9.0'.split('.')) == -1:
    msger.warning("Version of python-urlgrabber is %s, lower than '3.9.0', "
                  "you may encounter some network issues" % grabber_version)
 
    # Asking for the "Accept/Decline"
    if not msger.ask('Would you agree to the terms and conditions outlined in the above End User License Agreement?'):
        msger.warning('Will not install pkgs from this repo.')
        shutil.rmtree(repo_lic_dir) #cleanup
        return False

src/o/e/oe-core-HEAD/scripts/lib/mic/utils/misc.py   oe-core(Download)
    def remove_temp_ks():
        try:
            os.unlink(ksconf)
        except OSError, err:
            msger.warning('Failed to remove temp ks file:%s:%s' % (ksconf, err))
 
    if not any(map(os.path.exists, release_files)):
        msger.warning("Dir %s is not a MeeGo/Tizen chroot env" % rootdir)
 
    if not glob.glob(rootdir + "/boot/vmlinuz-*"):
        msger.warning("Failed to find kernel module under %s" % rootdir)
                return filename
 
            msger.warning("package %s is damaged: %s" %
                          (os.path.basename(filename), filename))
            os.unlink(filename)
                raise CreatorError("Requires %s version >=0.13 for %s" % (qemu_emulator, arch))
        else:
            msger.warning("Can't get version info of %s, please make sure it's higher than 0.13.0" % qemu_emulator)
 
    if not os.path.exists(rootdir + "/usr/bin"):

src/o/e/oe-core-HEAD/scripts/lib/mic/chroot.py   oe-core(Download)
            tmpdir = chrootdir + "/" + srcdst[1]
            if os.path.isdir(tmpdir):
                msger.warning("Warning: dir %s has existed."  % tmpdir)
 
    return True
            ret = runner.quiet(args)
            if ret != 0:
                msger.warning("failed to unmount %s" % point)
 
    return 0
                srcdst[1] = os.path.abspath(os.path.expanduser(srcdst[1]))
                if os.path.isdir(chrootdir + "/" + srcdst[1]):
                    msger.warning("%s has existed in %s , skip it."\
                                  % (srcdst[1], chrootdir))
                    continue
                    shutil.rmtree(tmpdir, ignore_errors = True)
                else:
                    msger.warning("Warning: dir %s isn't empty." % tmpdir)
 
    chroot_lockfd.close()
            map(os.unlink, filter(os.path.exists, ignlst))
        else:
            msger.warning(wrnmsg)
 
    dev_null = os.open("/dev/null", os.O_WRONLY)

src/o/e/oe-core-HEAD/scripts/lib/mic/imager/baseimager.py   oe-core(Download)
                vdso_fh.close()
                if (int)(vdso_value) == 1:
                    msger.warning("vdso is enabled on your host, which might "
                        "cause problems with arm emulations.\n"
                        "\tYou can disable vdso with following command before "
 
        for pkg in skipped_pkgs:
            msger.warning("Skipping missing package '%s'" % (pkg,))
 
    def __select_groups(self, pkg_manager):
 
        for group in skipped_groups:
            msger.warning("Skipping missing group '%s'" % (group.name,))
 
    def __deselect_packages(self, pkg_manager):
            (url, proxies) = pkg_manager.package_url(item)
            if not url:
                msger.warning("Can't get url from repo for %s" % item)
                continue
            fpath = os.path.join(self.cachedir, os.path.basename(url))
            kickstart.MoblinRepoConfig(self._instroot).apply(ksh.repo, repodata, self.repourl)
        except:
            msger.warning("Failed to apply configuration to image")
            raise
 

src/m/i/mic-HEAD/mic/chroot.py   mic(Download)
            tmpdir = chrootdir + "/" + srcdst[1]
            if os.path.isdir(tmpdir):
                msger.warning("Warning: dir %s has existed."  % tmpdir)
 
    return True
                ret = runner.quiet(args)
                if ret != 0:
                    msger.warning("failed to unmount %s" % point)
                    return ret
 
 
            if srcdst[0] in BIND_MOUNTS or srcdst[0] == '/':
                msger.warning("%s will be mounted by default." % srcdst[0])
                continue
 
                srcdst[1] = os.path.abspath(os.path.expanduser(srcdst[1]))
                if os.path.isdir(chrootdir + "/" + srcdst[1]):
                    msger.warning("%s has existed in %s , skip it."\
                                  % (srcdst[1], chrootdir))
                    continue
                    shutil.rmtree(tmpdir, ignore_errors = True)
                else:
                    msger.warning("Warning: dir %s isn't empty." % tmpdir)
 
    chroot_lockfd.close()

  1 | 2 | 3 | 4  Next