Did I find the right examples for you? yes no

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

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

src/m/i/mic-HEAD/mic/utils/rpmmisc.py   mic(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

src/o/e/oe-core-HEAD/scripts/lib/mic/chroot.py   oe-core(Download)
            wrnmsg = "Dir %s is being used to chroot" % saveto
        elif os.path.exists(saveto):
            if msger.ask("Dir %s already exists, cleanup and continue?" %
                         saveto):
                shutil.rmtree(saveto, ignore_errors = True)

src/o/e/oe-core-HEAD/scripts/lib/mic/rt_util.py   oe-core(Download)
    except errors.BootstrapError, err:
        msger.warning('\n%s' % err)
        if msger.ask("Switch to native mode and continue?"):
            return
        raise

src/m/i/mic-HEAD/mic/chroot.py   mic(Download)
            wrnmsg = "Dir %s is being used to chroot" % saveto
        elif os.path.exists(saveto):
            if msger.ask("Dir %s already exists, cleanup and continue?" %
                         saveto):
                shutil.rmtree(saveto, ignore_errors = True)

src/o/e/oe-core-HEAD/scripts/lib/mic/kickstart/__init__.py   oe-core(Download)
        except (OSError, IOError, errors.KsError), err:
            cfgcls = kargs[0].__class__.__name__
            if msger.ask("Failed to apply %s, skip and continue?" % cfgcls):
                msger.warning("%s" % err)
                pass
        ks.readKickstart(path)
    except (kserrors.KickstartParseError, kserrors.KickstartError), err:
        if msger.ask("Errors occured on kickstart file, skip and continue?"):
            msger.warning("%s" % err)
            pass

src/m/i/mic-HEAD/mic/kickstart/__init__.py   mic(Download)
        except (OSError, IOError, errors.KsError), err:
            cfgcls = kargs[0].__class__.__name__
            if msger.ask("Failed to apply %s, skip and continue?" % cfgcls):
                msger.warning("%s" % err)
                pass
        ks.readKickstart(path)
    except (kserrors.KickstartParseError, kserrors.KickstartError), err:
        if msger.ask("Errors occured on kickstart file, skip and continue?"):
            msger.warning("%s" % err)
            pass

src/m/i/mic-HEAD/mic/pluginbase.py   mic(Download)
                continue
 
            if msger.ask("Target image/dir: %s already exists, "
                         "clean up and continue?" % image):
                if os.path.isdir(image):

src/o/e/oe-core-HEAD/scripts/lib/mic/pluginbase.py   oe-core(Download)
                continue
 
            if msger.ask("Target image/dir: %s already exists, "
                         "clean up and continue?" % image):
                if os.path.isdir(image):