Did I find the right examples for you? yes no Crawl my project Python Jobs
All Samples(6) | Call(6) | Derive(0) | Import(0)
src/g/l/glideinWMS-HEAD/install/services/Factory.py glideinWMS(Download)
self.config_entries_list = {} # config files entries elements while 1: yn = common.ask_yn("Do you want to fetch entries from RESS") if yn == 'y': ress_data = self.get_ress_data() filtered_data = self.apply_filters_to_ress(ress_data) self.ask_user(filtered_data) yn = common.ask_yn("Do you want to add manual entries")
if len(ress_keys) == 0: return yn = common.ask_yn("Do you want to use them all") if yn == "y": # simply copy all of them
break yn = common.ask_yn("Do you want to customize them") if yn == "y": # customize them
src/g/l/glideinWMS-HEAD/install/services/PrivilegeSeparation.py glideinWMS(Download)
if os.getuid() != 0: common.logit("\nA privilege separation config file exists but you are not root user\n so we cannot remove it at this time.") yn = common.ask_yn("Do you want to proceed") if yn == "n": common.logerr("Terminating at your request")
src/g/l/glideinWMS-HEAD/install/services/VOFrontend.py glideinWMS(Download)
for i in range(len(default_schedds)): common.logit(" [%i] %s"%(i+1,default_schedds[i])) yn = common.ask_yn("Do you want to monitor all of them") if yn == "y": schedds = default_schedds