bugged
stringlengths
4
228k
fixed
stringlengths
0
96.3M
__index_level_0__
int64
0
481k
def system(args, timeout=None): stime=time.time() retcode, stdout = proc.run_cmd(args, timeout=timeout) d = time.time()-stime pub_args = garble_password(args) msg = [] a = msg.append a("%s %s %r\n" % (retcode, d, pub_args)) writemsg = lambda: sys.stderr.write("".join(msg)) if retcode != 0: a(stdout) a("\n=========...
def system(args, timeout=None): stime=time.time() retcode, stdout = proc.run_cmd(args, timeout=timeout) d = time.time()-stime pub_args = garble_password(args) msg = [] a = msg.append a("%s %s %r\n" % (retcode, d, pub_args)) writemsg = lambda: sys.stderr.write("".join(msg)) if retcode != 0: a(stdout) a("\n=========...
455,200
def __init__(self, tree, save_reports=False, nesting_strictness='loose', status_cb=None): """Init with parsetree.
def __init__(self, tree, save_reports=False, nesting_strictness='loose', status_cb=None): """Init with parsetree.
455,201
def get(self, n, default): self.count += 1 if isinstance(n, (int, long)): try: a=self.args[n] except IndexError: return default if isinstance(a, unicode): return a.strip() tmp = [] flatten(a, self.expander, self.variables, tmp) _insert_implicit_newlines(tmp) tmp = u"".join(tmp).strip() if len(tmp)>256*1024: raise Memor...
def get(self, n, default): self.count += 1 if isinstance(n, (int, long)): try: a=self.args[n] except IndexError: return default if isinstance(a, unicode): return a.strip() tmp = [] flatten(a, self.expander, self.variables, tmp) _insert_implicit_newlines(tmp) tmp = u"".join(tmp).strip() if len(tmp)>256*1024: raise Memor...
455,202
def get(self, n, default): self.count += 1 if isinstance(n, (int, long)): try: a=self.args[n] except IndexError: return default if isinstance(a, unicode): return a.strip() tmp = [] flatten(a, self.expander, self.variables, tmp) _insert_implicit_newlines(tmp) tmp = u"".join(tmp).strip() if len(tmp)>256*1024: raise Memor...
def get(self, n, default): self.count += 1 if isinstance(n, (int, long)): try: a=self.args[n] except IndexError: return default if isinstance(a, unicode): return a.strip() tmp = [] flatten(a, self.expander, self.variables, tmp) _insert_implicit_newlines(tmp) tmp = u"".join(tmp).strip() if len(tmp)>256*1024: raise Memor...
455,203
def get(self, n, default): self.count += 1 if isinstance(n, (int, long)): try: a=self.args[n] except IndexError: return default if isinstance(a, unicode): return a.strip() tmp = [] flatten(a, self.expander, self.variables, tmp) _insert_implicit_newlines(tmp) tmp = u"".join(tmp).strip() if len(tmp)>256*1024: raise Memor...
def get(self, n, default): self.count += 1 if isinstance(n, (int, long)): try: a=self.args[n] except IndexError: return default if isinstance(a, unicode): return a.strip() tmp = [] flatten(a, self.expander, self.variables, tmp) _insert_implicit_newlines(tmp) tmp = u"".join(tmp).strip() if len(tmp)>256*1024: raise Memor...
455,204
def download_file(filename,url): global options global checksums global filesizes resume_start = 0 if os.path.exists(filename): if filename in checksums: print 'Checking existing ' + filename file_size = os.stat(filename).st_size if file_size == filesizes[filename]: file_checksum = md5_checksum(filename) if file_checks...
def download_file(filename,url): global options global checksums global filesizes resume_start = 0 if os.path.exists(filename): if filename in checksums: print 'Checking existing ' + filename file_size = os.stat(filename).st_size if file_size == filesizes[filename]: file_checksum = md5_checksum(filename) if file_checks...
455,205
def download_file(filename,url): global options global checksums global filesizes resume_start = 0 if os.path.exists(filename): if filename in checksums: print 'Checking existing ' + filename file_size = os.stat(filename).st_size if file_size == filesizes[filename]: file_checksum = md5_checksum(filename) if file_checks...
def download_file(filename,url): global options global checksums global filesizes resume_start = 0 if os.path.exists(filename): if filename in checksums: print 'Checking existing ' + filename file_size = os.stat(filename).st_size if file_size == filesizes[filename]: file_checksum = md5_checksum(filename) if file_checks...
455,206
def download_file(filename,url): global options if options.dryrun : global download_list download_info = "download %s %s" % (filename, url) download_list.append(download_info) return True print 'Downloading ' + filename global headers req = urllib2.Request(url, None, headers) try: response = urllib2.urlopen(req) CHUN...
def download_file(filename,url): global options if options.dryrun : global download_list download_info = "download %s %s" % (filename, url) download_list.append(download_info) return True print 'Downloading ' + filename global headers req = urllib2.Request(url, None, headers) try: response = urllib2.urlopen(req) CHUN...
455,207
def download_file(filename,url): global options if options.dryrun : global download_list download_info = "download %s %s" % (filename, url) download_list.append(download_info) return True print 'Downloading ' + filename global headers req = urllib2.Request(url, None, headers) try: response = urllib2.urlopen(req) CHUN...
def download_file(filename,url): global options if options.dryrun : global download_list download_info = "download %s %s" % (filename, url) download_list.append(download_info) return True print 'Downloading ' + filename global headers req = urllib2.Request(url, None, headers) try: response = urllib2.urlopen(req) CHUN...
455,208
def downloadkit(version): global headers global options urlbase = 'http://developer.symbian.org/main/tools_and_kits/downloads/' viewid = 5 # default to Symbian^3 if version[0] == 2: viewid= 1 # Symbian^2 if version[0] == 3: viewid= 5 # Symbian^3 url = urlbase + ('view.php?id=%d'% viewid) + 'vId=' + version req = ...
def downloadkit(version): global headers global options urlbase = 'http://developer.symbian.org/main/tools_and_kits/downloads/' viewid = 5 # default to Symbian^3 if version[0] == 2: viewid= 1 # Symbian^2 if version[0] == 3: viewid= 5 # Symbian^3 url = urlbase + ('view.php?id=%d'% viewid) + 'vId=' + version req = ...
455,209
def downloadkit(version): global headers global options urlbase = 'http://developer.symbian.org/main/tools_and_kits/downloads/' viewid = 5 # default to Symbian^3 if version[0] == 2: viewid= 1 # Symbian^2 if version[0] == 3: viewid= 5 # Symbian^3 url = urlbase + ('view.php?id=%d'% viewid) + 'vId=' + version req = ...
def downloadkit(version): global headers global options urlbase = 'http://developer.symbian.org/main/tools_and_kits/downloads/' viewid = 5 # default to Symbian^3 if version[0] == 2: viewid= 1 # Symbian^2 if version[0] == 3: viewid= 5 # Symbian^3 url = urlbase + ('view.php?id=%d'% viewid) + 'vId=' + version req = ...
455,210
def downloadkit(version): global headers global options urlbase = 'http://developer.symbian.org/main/tools_and_kits/downloads/' viewid = 5 # default to Symbian^3 if version[0] == 2: viewid= 1 # Symbian^2 if version[0] == 3: viewid= 5 # Symbian^3 url = urlbase + ('view.php?id=%d'% viewid) + 'vId=' + version req = ...
def downloadkit(version): global headers global options urlbase = 'http://developer.symbian.org/main/tools_and_kits/downloads/' viewid = 5 # default to Symbian^3 if version[0] == 2: viewid= 1 # Symbian^2 if version[0] == 3: viewid= 5 # Symbian^3 url = urlbase + ('view.php?id=%d'% viewid) + 'vId=' + version req = ...
455,211
def schedule_unzip(filename, unziplevel, deletelevel): global options if options.nounzip : return if options.dryrun : global unzip_list if unziplevel > 0: unzip_list.append("7z x -y %s" % filename) if unziplevel > 1: unzip_list.append("# unzip recursively %d more times" % unziplevel-1) if deletelevel > 0: unzip_list.ap...
def schedule_unzip(filename, unziplevel, deletelevel): global options if options.nounzip : return if options.dryrun : global unzip_list if unziplevel > 0: unzip_list.append("7z x -y %s" % filename) if unziplevel > 1: unzip_list.append("# unzip recursively %d more times" % unziplevel-1) if deletelevel > 0: unzip_list.ap...
455,212
def download_file(filename,url): global options if options.dryrun : global download_list download_info = "download %s %s" % (filename, url) download_list.append(download_info) return True print 'Downloading ' + filename global headers req = urllib2.Request(url, None, headers) try: response = urllib2.urlopen(req) CHUN...
def download_file(filename,url): global options if options.dryrun : global download_list download_info = "download %s %s" % (filename, url) download_list.append(download_info) return True print 'Downloading ' + filename global headers req = urllib2.Request(url, None, headers) try: response = urllib2.urlopen(req) CHUN...
455,213
def download_file(filename,url): global options if options.dryrun : global download_list download_info = "download %s %s" % (filename, url) download_list.append(download_info) return True print 'Downloading ' + filename global headers req = urllib2.Request(url, None, headers) try: response = urllib2.urlopen(req) CHUN...
def download_file(filename,url): global options if options.dryrun : global download_list download_info = "download %s %s" % (filename, url) download_list.append(download_info) return True print 'Downloading ' + filename global headers req = urllib2.Request(url, None, headers) try: response = urllib2.urlopen(req) CHUN...
455,214
def download_file(filename,url): global options if options.dryrun : global download_list download_info = "download %s %s" % (filename, url) download_list.append(download_info) return True print 'Downloading ' + filename global headers req = urllib2.Request(url, None, headers) try: response = urllib2.urlopen(req) CHUN...
def download_file(filename,url): global options if options.dryrun : global download_list download_info = "download %s %s" % (filename, url) download_list.append(download_info) return True print 'Downloading ' + filename global headers req = urllib2.Request(url, None, headers) try: response = urllib2.urlopen(req) CHUN...
455,215
def downloadkit(version): global headers global options urlbase = 'http://developer.symbian.org/main/tools_and_kits/downloads/' viewid = 5 # default to Symbian^3 if version[0] == 2: viewid= 1 # Symbian^2 if version[0] == 3: viewid= 5 # Symbian^3 url = urlbase + ('view.php?id=%d'% viewid) + 'vId=' + version req = ...
def downloadkit(version): global headers global options urlbase = 'http://developer.symbian.org/main/tools_and_kits/downloads/' viewid = 5 # default to Symbian^3 if version[0] == 2: viewid= 1 # Symbian^2 if version[0] == 3: viewid= 5 # Symbian^3 url = urlbase + ('view.php?id=%d'% viewid) + 'vId=' + version req = ...
455,216
def downloadkit(version): global headers global options urlbase = 'http://developer.symbian.org/main/tools_and_kits/downloads/' viewid = 5 # default to Symbian^3 if version[0] == 2: viewid= 1 # Symbian^2 if version[0] == 3: viewid= 5 # Symbian^3 url = urlbase + ('view.php?id=%d'% viewid) + 'vId=' + version req = ...
def downloadkit(version): global headers global options urlbase = 'http://developer.symbian.org/main/tools_and_kits/downloads/' viewid = 5 # default to Symbian^3 if version[0] == 2: viewid= 1 # Symbian^2 if version[0] == 3: viewid= 5 # Symbian^3 url = urlbase + ('view.php?id=%d'% viewid) + 'vId=' + version req = ...
455,217
def report_to_symbian(version, what): global options if not options.publicity: return reporting_url = "http://developer.symbian.org/downloadkit_report/%s/%s/args=" % (version, what) if options.dryrun: reporting_url += "+dryrun" if options.nosrc: reporting_url += "+nosrc" if options.nowinscw: reporting_url += "+nowinscw...
def report_to_symbian(version, what): global options if not options.publicity: return reporting_url = "http://developer-secure.symbian.org/downloadkit_report/%s/%s/args=" % (version, what) if options.dryrun: reporting_url += "+dryrun" if options.nosrc: reporting_url += "+nosrc" if options.nowinscw: reporting_url += "+n...
455,218
def downloadkit(version): global headers global options global failure_list urlbase = top_level_url + '/main/tools_and_kits/downloads/' viewid = 5 # default to Symbian^3 if version[0] == '2': viewid = 1 # Symbian^2 if version[0] == '3': viewid = 5 # Symbian^3 if version.startswith('lucky'): viewid = 12 # Do you fe...
def downloadkit(version): global headers global options global failure_list urlbase = top_level_url + '/main/tools_and_kits/downloads/' viewid = 5 # default to Symbian^3 if version[0] == '2': viewid = 1 # Symbian^2 if version[0] == '3': viewid = 5 # Symbian^3 if version.startswith('lucky'): viewid = 12 # Do you fe...
455,219
def downloadkit(version): global headers global options global failure_list urlbase = top_level_url + '/main/tools_and_kits/downloads/' viewid = 5 # default to Symbian^3 if version[0] == '2': viewid = 1 # Symbian^2 if version[0] == '3': viewid = 5 # Symbian^3 if version.startswith('lucky'): viewid = 12 # Do you fe...
def downloadkit(version): global headers global options global failure_list urlbase = top_level_url + '/main/tools_and_kits/downloads/' viewid = 5 # default to Symbian^3 if version[0] == '2': viewid = 1 # Symbian^2 if version[0] == '3': viewid = 5 # Symbian^3 if version.startswith('lucky'): viewid = 12 # Do you fe...
455,220
def read(*rnames): return open(os.path.join(os.path.dirname(__file__), *rnames)).read()
def read(*rnames): return open(os.path.join(os.path.dirname(__file__), *rnames)).read()
455,221
def read(*rnames): return open(os.path.join(os.path.dirname(__file__), *rnames)).read()
def read(*rnames): return open(os.path.join(os.path.dirname(__file__), *rnames)).read()
455,222
def read(*rnames): return open(os.path.join(os.path.dirname(__file__), *rnames)).read()
def read(*rnames): return open(os.path.join(os.path.dirname(__file__), *rnames)).read()
455,223
def getBanners(self): """ Returns a list of objects that provide ICarouselBanner. """ banner_brains = [] if IFolderish.providedBy(self.context): banner_brains = self.context.getFolderContents() elif IATTopic.providedBy(self.context): banner_brains = self.context.queryCatalog() banner_objects = [b.getObject() for b in...
def getBanners(self): """ Returns a list of objects that provide ICarouselBanner. """ banner_brains = [] if IFolderish.providedBy(self.context): catalog = getToolByName(self.context, 'portal_catalog') banner_brains = catalog.searchResults({ 'path': '/'.join(self.context.getPhysicalPath()), 'object_provides': ICarousel...
455,224
def getBanners(self): """ Returns a list of objects that provide ICarouselBanner. """ banner_objects = [] if IFolderish.providedBy(self.context): banner_objects = self.context.objectValues() elif IATTopic.providedBy(self.context): banner_objects = [brain.getObject() for brain \ in self.context.queryCatalog()] return ...
def getBanners(self): """ Returns a list of objects that provide ICarouselBanner. """ banner_brains = [] if IFolderish.providedBy(self.context): banner_objects = self.context.objectValues() elif IATTopic.providedBy(self.context): banner_objects = [brain.getObject() for brain \ in self.context.queryCatalog()] return [...
455,225
def getBanners(self): """ Returns a list of objects that provide ICarouselBanner. """ banner_objects = [] if IFolderish.providedBy(self.context): banner_objects = self.context.objectValues() elif IATTopic.providedBy(self.context): banner_objects = [brain.getObject() for brain \ in self.context.queryCatalog()] return ...
def getBanners(self): """ Returns a list of objects that provide ICarouselBanner. """ banner_objects = [] if IFolderish.providedBy(self.context): banner_brains = self.context.getFolderContents() elif IATTopic.providedBy(self.context): banner_objects = [brain.getObject() for brain \ in self.context.queryCatalog()] ret...
455,226
def getBanners(self): """ Returns a list of objects that provide ICarouselBanner. """ banner_objects = [] if IFolderish.providedBy(self.context): banner_objects = self.context.objectValues() elif IATTopic.providedBy(self.context): banner_objects = [brain.getObject() for brain \ in self.context.queryCatalog()] return ...
def getBanners(self): """ Returns a list of objects that provide ICarouselBanner. """ banner_objects = [] if IFolderish.providedBy(self.context): banner_objects = self.context.objectValues() elif IATTopic.providedBy(self.context): banner_brains = self.context.queryCatalog() banner_objects = [b.getObject() for b in ba...
455,227
def __call__(self, request=None, response=None): """ Returns global configuration of the Flowplayer taken from portal_properties """ self.update() self.request.response.setHeader("Content-type", "text/javascript") return """(function($) { $(function() { $('.autoFlowPlayer').each(function() { var config = %(config)s; v...
def __call__(self, request=None, response=None): """ Returns global configuration of the Flowplayer taken from portal_properties """ self.update() self.request.response.setHeader("Content-type", "text/javascript") return """(function($) { $(function() { $('.autoFlowPlayer').each(function() { var config = %(config)s; v...
455,228
def videos(self): catalog = getToolByName(self.context, 'portal_catalog') results = [] for brain in self._query(): video = brain.getObject() if not IFlowPlayable.providedBy(video): continue view = component.getMultiAdapter( (video, self.request), interface.Interface, 'flowplayer') results.append(dict(url=view.href(), t...
def videos(self): results = [] for brain in self._query(): video = brain.getObject() if not IFlowPlayable.providedBy(video): continue view = component.getMultiAdapter( (video, self.request), interface.Interface, 'flowplayer') results.append(dict(url=view.href(), title=brain.Title, description=brain.Description, height=...
455,229
def __call__(self, request=None, response=None): """ Returns global configuration of the Flowplayer taken from portal_properties """ self.update() self.request.response.setHeader("Content-type", "text/javascript")
def __call__(self, request=None, response=None): """ Returns global configuration of the Flowplayer taken from portal_properties """ self.update() self.request.response.setHeader("Content-type", "text/javascript")
455,230
def __call__(self, request=None, response=None): """ Returns global configuration of the Flowplayer taken from portal_properties """ self.update() self.request.response.setHeader("Content-type", "text/javascript") return """(function($) { $(function() { $('.autoFlowPlayer').each(function() { var config = %(config)s; i...
def __call__(self, request=None, response=None): """ Returns global configuration of the Flowplayer taken from portal_properties """ self.update() self.request.response.setHeader("Content-type", "text/javascript") return """(function($) { $(function() { $('.autoFlowPlayer').each(function() { var config = %(config)s; v...
455,231
def __call__(self, request=None, response=None): """ Returns global configuration of the Flowplayer taken from portal_properties """ self.update() self.request.response.setHeader("Content-type", "text/javascript") return """(function($) { $(function() { $('.autoFlowPlayer').each(function() { var config = %(config)s; i...
def __call__(self, request=None, response=None): """ Returns global configuration of the Flowplayer taken from portal_properties """ self.update() self.request.response.setHeader("Content-type", "text/javascript") return """(function($) { $(function() { $('.autoFlowPlayer').each(function() { var config = %(config)s; i...
455,232
def __call__(self, request=None, response=None): """ Returns global configuration of the Flowplayer taken from portal_properties """ self.update() self.request.response.setHeader("Content-type", "text/javascript") return """(function($) { $(function() { $('.autoFlowPlayer').each(function() { var config = %(config)s; i...
def __call__(self, request=None, response=None): """ Returns global configuration of the Flowplayer taken from portal_properties """ self.update() self.request.response.setHeader("Content-type", "text/javascript") return """(function($) { $(function() { $('.autoFlowPlayer').each(function() { var config = %(config)s; i...
455,233
def __call__(self, request=None, response=None): """ Returns global configuration of the Flowplayer taken from portal_properties """ self.update() self.request.response.setHeader("Content-type", "text/javascript") return """(function($) { $(function() { $('.autoFlowPlayer').each(function() { var config = %(config)s; i...
def __call__(self, request=None, response=None): """ Returns global configuration of the Flowplayer taken from portal_properties """ self.update() self.request.response.setHeader("Content-type", "text/javascript") return """(function($) { $(function() { $('.autoFlowPlayer').each(function() { var config = %(config)s; i...
455,234
def __call__(self, request=None, response=None): """ Returns global configuration of the Flowplayer taken from portal_properties """ self.update() self.request.response.setHeader("Content-type", "text/javascript") return """(function($) { $(function() { $('.autoFlowPlayer').each(function() { var config = %(config)s; i...
def __call__(self, request=None, response=None): """ Returns global configuration of the Flowplayer taken from portal_properties """ self.update() self.request.response.setHeader("Content-type", "text/javascript") return """(function($) { $(function() { $('.autoFlowPlayer').each(function() { var config = %(config)s; i...
455,235
def __call__(self, request=None, response=None): """ Returns global configuration of the Flowplayer taken from portal_properties """ self.update() self.request.response.setHeader("Content-type", "text/javascript") return """(function($) { $(function() { $('.autoFlowPlayer').each(function() { var config = %(config)s; i...
def __call__(self, request=None, response=None): """ Returns global configuration of the Flowplayer taken from portal_properties """ self.update() self.request.response.setHeader("Content-type", "text/javascript") return """(function($) { $(function() { $('.autoFlowPlayer').each(function() { var config = %(config)s; i...
455,236
def __call__(self, request=None, response=None): """ Returns global configuration of the Flowplayer taken from portal_properties """ self.update() self.request.response.setHeader("Content-type", "text/javascript") return """(function($) { $(function() { $('.autoFlowPlayer').each(function() { var config = %(config)s; i...
def __call__(self, request=None, response=None): """ Returns global configuration of the Flowplayer taken from portal_properties """ self.update() self.request.response.setHeader("Content-type", "text/javascript") return """(function($) { $(function() { $('.autoFlowPlayer').each(function() { var config = %(config)s; i...
455,237
def __call__(self, request=None, response=None): """ Returns global configuration of the Flowplayer taken from portal_properties """ self.update() self.request.response.setHeader("Content-type", "text/javascript") return """(function($) { $(function() { $('.autoFlowPlayer').each(function() { var config = %(config)s; i...
def __call__(self, request=None, response=None): """ Returns global configuration of the Flowplayer taken from portal_properties """ self.update() self.request.response.setHeader("Content-type", "text/javascript") return """(function($) { $(function() { $('.autoFlowPlayer').each(function() { var config = %(config)s; i...
455,238
def __call__(self, request=None, response=None): """ Returns global configuration of the Flowplayer taken from portal_properties """ self.update() self.request.response.setHeader("Content-type", "text/javascript") return """(function($) { $(function() { $('.autoFlowPlayer').each(function() { var config = %(config)s; i...
def __call__(self, request=None, response=None): """ Returns global configuration of the Flowplayer taken from portal_properties """ self.update() self.request.response.setHeader("Content-type", "text/javascript") return """(function($) { $(function() { $('.autoFlowPlayer').each(function() { var config = %(config)s; i...
455,239
def __call__(self, request=None, response=None): """ Returns global configuration of the Flowplayer taken from portal_properties """ self.update() self.request.response.setHeader("Content-type", "text/javascript") return """(function($) { $(function() { $('.autoFlowPlayer').each(function() { var config = %(config)s; i...
def __call__(self, request=None, response=None): """ Returns global configuration of the Flowplayer taken from portal_properties """ self.update() self.request.response.setHeader("Content-type", "text/javascript") return """(function($) { $(function() { $('.autoFlowPlayer').each(function() { var config = %(config)s; i...
455,240
def __call__(self, request=None, response=None): """ Returns global configuration of the Flowplayer taken from portal_properties """ self.update() self.request.response.setHeader("Content-type", "text/javascript") return """(function($) { $(function() { $('.autoFlowPlayer').each(function() { var config = %(config)s; i...
def __call__(self, request=None, response=None): """ Returns global configuration of the Flowplayer taken from portal_properties """ self.update() self.request.response.setHeader("Content-type", "text/javascript") return """(function($) { $(function() { $('.autoFlowPlayer').each(function() { var config = %(config)s; i...
455,241
def expand(self, create = False, size = None): flags = os.O_WRONLY if create: flags |= os.O_CREAT makedirs(os.path.dirname(self.lofile))
def expand(self, create = False, size = None): flags = os.O_WRONLY if create: flags |= os.O_CREAT makedirs(os.path.dirname(self.lofile))
455,242
def create(self): if self.__created: return
def create(self): if self.__created: return
455,243
def __get_image_stanzas(self, isodir): versions = [] kernels = self._get_kernel_versions() for kernel in kernels: for version in kernels[kernel]: versions.append(version)
def __get_image_stanzas(self, isodir): versions = [] kernels = self._get_kernel_versions() for kernel in kernels: for version in kernels[kernel]: versions.append(version)
455,244
def _unmount_instroot(self): try: os.unlink(self._instroot + "/etc/sysconfig/mkinitrd") except: pass LoopImageCreator._unmount_instroot(self)
def _unmount_instroot(self): self.__restore_file(self._instroot + "/etc/sysconfig/mkinitrd") self.__restore_file(self._instroot + "/etc/dracut.conf") LoopImageCreator._unmount_instroot(self)
455,245
def __write_initrd_conf(self, path): if not os.path.exists(os.path.dirname(path)): makedirs(os.path.dirname(path)) f = open(path, "a")
def__write_initrd_conf(self,path):ifnotos.path.exists(os.path.dirname(path)):makedirs(os.path.dirname(path))f=open(path,"a")
455,246
def __write_initrd_conf(self, path): if not os.path.exists(os.path.dirname(path)): makedirs(os.path.dirname(path)) f = open(path, "a")
def __write_initrd_conf(self, path): if not os.path.exists(os.path.dirname(path)): makedirs(os.path.dirname(path)) f = open(path, "a")
455,247
def _mount_instroot(self, base_on = None): LoopImageCreator._mount_instroot(self, base_on) self.__write_initrd_conf(self._instroot + "/etc/dracut.conf")
def _mount_instroot(self, base_on = None): LoopImageCreator._mount_instroot(self, base_on) self.__write_initrd_conf(self._instroot + "/etc/dracut.conf")
455,248
def _unmount_instroot(self): try: os.unlink(self._instroot + "/etc/dracut.conf") except: pass LoopImageCreator._unmount_instroot(self)
def _unmount_instroot(self): try: os.unlink(self._instroot + "/etc/sysconfig/mkinitrd") except: pass LoopImageCreator._unmount_instroot(self)
455,249
def __write_initrd_conf(self, path): if not os.path.exists(os.path.dirname(path)): makedirs(os.path.dirname(path)) f = open(path, "a")
def __write_initrd_conf(self, path): if not os.path.exists(os.path.dirname(path)): makedirs(os.path.dirname(path)) f = open(path, "a")
455,250
def __write_initrd_conf(self, path): if not os.path.exists(os.path.dirname(path)): makedirs(os.path.dirname(path)) f = open(path, "a")
def __write_initrd_conf(self, path): if not os.path.exists(os.path.dirname(path)): makedirs(os.path.dirname(path)) f = open(path, "a")
455,251
def __write_initrd_conf(self, path): if not os.path.exists(os.path.dirname(path)): makedirs(os.path.dirname(path)) f = open(path, "a")
def __write_initrd_conf(self, path): if not os.path.exists(os.path.dirname(path)): makedirs(os.path.dirname(path)) f = open(path, "a")
455,252
def __write_initrd_conf(self, path): if not os.path.exists(os.path.dirname(path)): makedirs(os.path.dirname(path)) f = open(path, "a")
def __write_initrd_conf(self, path): if not os.path.exists(os.path.dirname(path)): makedirs(os.path.dirname(path)) f = open(path, "a")
455,253
def __write_initrd_conf(self, path): if not os.path.exists(os.path.dirname(path)): makedirs(os.path.dirname(path)) f = open(path, "a")
def __write_initrd_conf(self, path): if not os.path.exists(os.path.dirname(path)): makedirs(os.path.dirname(path)) f = open(path, "a")
455,254
def __write_initrd_conf(self, path): if not os.path.exists(os.path.dirname(path)): makedirs(os.path.dirname(path)) f = open(path, "a")
def __write_initrd_conf(self, path): if not os.path.exists(os.path.dirname(path)): makedirs(os.path.dirname(path)) f = open(path, "a")
455,255
def __copy_syslinux_background(self, isodest): background_path = self._instroot + \ "/usr/share/anaconda/syslinux-vesa-splash.jpg"
def __copy_syslinux_background(self, isodest): background_path = self._instroot + \ "/usr/share/anaconda/syslinux-vesa-splash.jpg"
455,256
def __get_image_stanza(self, is_xen, isDracut, **args): if isDracut: args["rootlabel"] = "live:CDLABEL=%(fslabel)s" % args else: args["rootlabel"] = "CDLABEL=%(fslabel)s" % args
def __get_image_stanza(self, is_xen, isDracut, **args): if isDracut: args["rootlabel"] = "live:CDLABEL=%(fslabel)s" % args else: args["rootlabel"] = "CDLABEL=%(fslabel)s" % args
455,257
def __get_image_stanza(self, is_xen, isDracut, **args): if isDracut: args["rootlabel"] = "live:CDLABEL=%(fslabel)s" % args else: args["rootlabel"] = "CDLABEL=%(fslabel)s" % args
def __get_image_stanza(self, is_xen, isDracut, **args): if isDracut: args["rootlabel"] = "live:CDLABEL=%(fslabel)s" % args else: args["rootlabel"] = "CDLABEL=%(fslabel)s" % args
455,258
def __get_image_stanzas(self, isodir): versions = [] kernels = self._get_kernel_versions() for kernel in kernels: for version in kernels[kernel]: versions.append(version)
def __get_image_stanzas(self, isodir): versions = [] kernels = self._get_kernel_versions() for kernel in kernels: for version in kernels[kernel]: versions.append(version)
455,259
def __get_image_stanzas(self, isodir): versions = [] kernels = self._get_kernel_versions() for kernel in kernels: for version in kernels[kernel]: versions.append(version)
def __get_image_stanzas(self, isodir): versions = [] kernels = self._get_kernel_versions() for kernel in kernels: for version in kernels[kernel]: versions.append(version)
455,260
def relabel(self, ksselinux): # touch some files which get unhappy if they're not labeled correctly for fn in ("/etc/resolv.conf",): path = self.path(fn) f = file(path, "w+") os.chmod(path, 0644) f.close()
def relabel(self, ksselinux): # touch some files which get unhappy if they're not labeled correctly for fn in ("/etc/resolv.conf",): path = self.path(fn) f = file(path, "w+") os.chmod(path, 0644) f.close()
455,261
def __copy_syslinux_background(self, isodest): background_path = self._instroot + \ "/usr/lib/anaconda-runtime/syslinux-vesa-splash.jpg"
def __copy_syslinux_background(self, isodest): background_path = self._instroot + \ "/usr/lib/anaconda-runtime/syslinux-vesa-splash.jpg"
455,262
def __copy_syslinux_background(self, isodest): background_path = self._instroot + \ "/usr/lib/anaconda-runtime/syslinux-vesa-splash.jpg"
def __copy_syslinux_background(self, isodest): background_path = self._instroot + \ "/usr/lib/anaconda-runtime/syslinux-vesa-splash.jpg"
455,263
def linedataToObject(self, linedata, o): """ @type linedata: dict @param linedata: One line of BP data dict-ified. @type o: instance of mapper class from stampede_schema module. @param o: Passed in by the appropriate event handler method. Takes the dict of BP linedata, assigns contents to the class o as attribut...
def linedataToObject(self, linedata, o): """ @type linedata: dict @param linedata: One line of BP data dict-ified. @type o: instance of mapper class from stampede_schema module. @param o: Passed in by the appropriate event handler method. Takes the dict of BP linedata, assigns contents to the class o as attribut...
455,264
def job(self, linedata): """ @type linedata: dict @param linedata: One line of BP data dict-ified. Handles a job insert event. """ job = self.linedataToObject(linedata, Job()) # get wf_id job.wf_id = self.wf_uuidToId(job.wf_uuid) if job.wf_id == None: er = 'No wf_id associated with wf_uuid %s - can not insert job ...
def job(self, linedata): """ @type linedata: dict @param linedata: One line of BP data dict-ified. Handles a job insert event. """ job = self.linedataToObject(linedata, Job()) # get wf_id job.wf_id = self.wf_uuidToId(job.wf_uuid) if job.wf_id == None: er = 'No wf_id associated with wf_uuid %s - can not insert job ...
455,265
def epochdate(timestamp, short=False): """ This function converts an ISO timestamp into seconds since epoch Set short to False when the timestamp is in the YYYY-MM-DDTHH:MM:SSZZZ:ZZ format Set short to True when the timestamp is in the YYYYMMDDTHHMMSSZZZZZ format """ try: # Split date/time and timezone information if ...
def epochdate(timestamp, short=False): """ This function converts an ISO timestamp into seconds since epoch Set short to False when the timestamp is in the YYYY-MM-DDTHH:MM:SSZZZ:ZZ format Set short to True when the timestamp is in the YYYYMMDDTHHMMSSZZZZZ format """ try: # Split date/time and timezone information if ...
455,266
def __init__(self): self.submit_dir ='-' self.workflow_run_time = '-' self.workflow_run_wall_time ='-' self.total_jobs = '-' self.succeeded_jobs ='-' self.failed_jobs ='-' self.unsubmitted_jobs ='-' self.unknown_jobs ='-' self.total_succeeded_tasks ='-' self.total_failed_tasks ='-' self.job_statistics_dict ={} self.tra...
def __init__(self): self.submit_dir ='-' self.workflow_run_time = '-' self.workflow_cpu_time ='-' self.total_jobs = '-' self.succeeded_jobs ='-' self.failed_jobs ='-' self.unsubmitted_jobs ='-' self.unknown_jobs ='-' self.total_succeeded_tasks ='-' self.total_failed_tasks ='-' self.job_statistics_dict ={} self.transfor...
455,267
def get_formatted_workflow_info(self): workflow_info = '' workflow_info +=("#" + self.submit_dir) workflow_info +=( "\n") workflow_info +=(("Total workflow execution time :" + str(self.workflow_run_time)).ljust(job_run_statistics_size)) workflow_info +=("\n") workflow_info +=(("Total workflow execution wall time ...
def get_formatted_workflow_info(self): workflow_info = '' workflow_info +=("#" + self.submit_dir) workflow_info +=( "\n") workflow_info +=(("Workflow execution wall time :" + str(self.workflow_run_time)).ljust(job_run_statistics_size)) workflow_info +=("\n") workflow_info +=(("Total workflow execution wall time ...
455,268
def get_formatted_workflow_info(self): workflow_info = '' workflow_info +=("#" + self.submit_dir) workflow_info +=( "\n") workflow_info +=(("Total workflow execution time :" + str(self.workflow_run_time)).ljust(job_run_statistics_size)) workflow_info +=("\n") workflow_info +=(("Total workflow execution wall time ...
def get_formatted_workflow_info(self): workflow_info = '' workflow_info +=("#" + self.submit_dir) workflow_info +=( "\n") workflow_info +=(("Total workflow execution time :" + str(self.workflow_run_time)).ljust(job_run_statistics_size)) workflow_info +=("\n") workflow_info +=(("Total cpu time consumed ...
455,269
def populate_workflow_details(workflow): """ populates the workflow statistics information Param: the workflow reference """ workflow_stat = WorkflowStatistics() transformation_stats_dict ={} job_stats_dict ={} total_succeeded_tasks =0 total_failed_tasks =0 failed_jobs =0 succeeded_jobs =0 unknown_jobs =0 unsubmitted_j...
def populate_workflow_details(workflow): """ populates the workflow statistics information Param: the workflow reference """ workflow_stat = WorkflowStatistics() transformation_stats_dict ={} job_stats_dict ={} total_succeeded_tasks =0 total_failed_tasks =0 failed_jobs =0 succeeded_jobs =0 unknown_jobs =0 unsubmitted_j...
455,270
def populate_workflow_details(workflow): """ populates the workflow statistics information Param: the workflow reference """ workflow_stat = WorkflowStatistics() transformation_stats_dict ={} job_stats_dict ={} total_succeeded_tasks =0 total_failed_tasks =0 failed_jobs =0 succeeded_jobs =0 unknown_jobs =0 unsubmitted_j...
def populate_workflow_details(workflow): """ populates the workflow statistics information Param: the workflow reference """ workflow_stat = WorkflowStatistics() transformation_stats_dict ={} job_stats_dict ={} total_succeeded_tasks =0 total_failed_tasks =0 failed_jobs =0 succeeded_jobs =0 unknown_jobs =0 unsubmitted_j...
455,271
def populate_workflow_details(workflow): """ populates the workflow statistics information Param: the workflow reference """ workflow_stat = WorkflowStatistics() transformation_stats_dict ={} job_stats_dict ={} total_succeeded_tasks =0 total_failed_tasks =0 failed_jobs =0 succeeded_jobs =0 unknown_jobs =0 unsubmitted_j...
def populate_workflow_details(workflow): """ populates the workflow statistics information Param: the workflow reference """ workflow_stat = WorkflowStatistics() transformation_stats_dict ={} job_stats_dict ={} total_succeeded_tasks =0 total_failed_tasks =0 failed_jobs =0 succeeded_jobs =0 unknown_jobs =0 unsubmitted_j...
455,272
def print_workflow_details(workflow_stat_list): # print workflow statistics all_stat = WorkflowStatistics() wf_stats_file = os.path.join(output_dir, "workflow") try: fh = open(wf_stats_file, "w") all_stat.submit_dir = "All" all_stat.workflow_run_time =workflow_stat_list[0].workflow_run_time all_stat.workflow_run_wall_...
def print_workflow_details(workflow_stat_list): # print workflow statistics all_stat = WorkflowStatistics() wf_stats_file = os.path.join(output_dir, "workflow") try: fh = open(wf_stats_file, "w") all_stat.submit_dir = "All" all_stat.workflow_run_time =workflow_stat_list[0].workflow_run_time all_stat.workflow_cpu_time ...
455,273
def isodate(now=int(time.time()), utc=False, short=False): """ This function converts seconds since epoch into ISO timestamp """ if utc: my_time = time.gmtime(now) else: # FIXME: Zone offset is wrong on CentOS 5.5 with python 2.4 my_time = time.localtime(now) if short: if utc: return time.strftime("%Y%m%dT%H%M%SZ", m...
def isodate(now=int(time.time()), utc=False, short=False): """ This function converts seconds since epoch into ISO timestamp """ if utc: my_time = time.gmtime(now) else: # FIXME: Zone offset is wrong on CentOS 5.5 with python 2.4 my_time = time.localtime(now) if short: if utc: return time.strftime("%Y%m%dT%H%M%SZ", m...
455,274
def epochdate(timestamp, short=False): """ This function converts an ISO timestamp into seconds since epoch Set short to False when the timestamp is in the YYYY-MM-DDTHH:MM:SSZZZ:ZZ format Set short to True when the timestamp is in the YYYYMMDDTHHMMSSZZZZZ format """ try: # Split date/time and timezone information m =...
def epochdate(timestamp, short=False): """ This function converts an ISO timestamp into seconds since epoch Set short to False when the timestamp is in the YYYY-MM-DDTHH:MM:SSZZZ:ZZ format Set short to True when the timestamp is in the YYYYMMDDTHHMMSSZZZZZ format """ try: # Split date/time and timezone information m =...
455,275
def epochdate(timestamp, short=False): """ This function converts an ISO timestamp into seconds since epoch Set short to False when the timestamp is in the YYYY-MM-DDTHH:MM:SSZZZ:ZZ format Set short to True when the timestamp is in the YYYYMMDDTHHMMSSZZZZZ format """ try: # Split date/time and timezone information m =...
def epochdate(timestamp, short=False): """ This function converts an ISO timestamp into seconds since epoch Set short to False when the timestamp is in the YYYY-MM-DDTHH:MM:SSZZZ:ZZ format Set short to True when the timestamp is in the YYYYMMDDTHHMMSSZZZZZ format """ try: # Split date/time and timezone information m =...
455,276
def epochdate(timestamp, short=False): """ This function converts an ISO timestamp into seconds since epoch Set short to False when the timestamp is in the YYYY-MM-DDTHH:MM:SSZZZ:ZZ format Set short to True when the timestamp is in the YYYYMMDDTHHMMSSZZZZZ format """ try: # Split date/time and timezone information m =...
def epochdate(timestamp, short=False): """ This function converts an ISO timestamp into seconds since epoch Set short to False when the timestamp is in the YYYY-MM-DDTHH:MM:SSZZZ:ZZ format Set short to True when the timestamp is in the YYYYMMDDTHHMMSSZZZZZ format """ try: # Split date/time and timezone information m =...
455,277
def epochdate(timestamp, short=False): """ This function converts an ISO timestamp into seconds since epoch Set short to False when the timestamp is in the YYYY-MM-DDTHH:MM:SSZZZ:ZZ format Set short to True when the timestamp is in the YYYYMMDDTHHMMSSZZZZZ format """ try: # Split date/time and timezone information m =...
def epochdate(timestamp, short=False): """ This function converts an ISO timestamp into seconds since epoch Set short to False when the timestamp is in the YYYY-MM-DDTHH:MM:SSZZZ:ZZ format Set short to True when the timestamp is in the YYYYMMDDTHHMMSSZZZZZ format """ try: # Split date/time and timezone information m =...
455,278
def slurp_braindb(run): """ Reads extra configuration from braindump database Param: run is the run directory Returns: Dictionary with the configuration, empty if error """ my_config = {} my_braindb = os.path.join(run, brainbase) try: my_file = open(my_braindb, 'r') except: # Error opening file return my_config for l...
def slurp_braindb(run, brain_alternate=None): """ Reads extra configuration from braindump database Param: run is the run directory Returns: Dictionary with the configuration, empty if error """ my_config = {} my_braindb = os.path.join(run, brainbase) try: my_file = open(my_braindb, 'r') except: # Error opening file r...
455,279
def slurp_braindb(run): """ Reads extra configuration from braindump database Param: run is the run directory Returns: Dictionary with the configuration, empty if error """ my_config = {} my_braindb = os.path.join(run, brainbase) try: my_file = open(my_braindb, 'r') except: # Error opening file return my_config for l...
def slurp_braindb(run): """ Reads extra configuration from braindump database Param: run is the run directory Returns: Dictionary with the configuration, empty if error """ my_config = {} if brain_alternate is None: my_braindb = os.path.join(run, brainbase) else: my_braindb = os.path.join(run, brain_alternate) try: m...
455,280
def isodate(now=int(time.time()), utc=False, short=False): """ This function converts seconds since epoch into ISO timestamp """ if utc: my_time = time.gmtime(now) else: my_time = time.localtime(now) if short: return time.strftime("%Y%m%dT%H%M%S%z", my_time) else: return time.strftime("%Y-%m-%dT%H:%M:%S%z", my_time)
def isodate(now=int(time.time()), utc=False, short=False): """ This function converts seconds since epoch into ISO timestamp """ if utc: my_time = time.gmtime(now) else: my_time = time.localtime(now) if short: return time.strftime("%Y%m%dT%H%M%S%z", my_time) else: return time.strftime("%Y-%m-%dT%H:%M:%S%z", my_time)
455,281
def isodate(now=int(time.time()), utc=False, short=False): """ This function converts seconds since epoch into ISO timestamp """ if utc: my_time = time.gmtime(now) else: my_time = time.localtime(now) if short: return time.strftime("%Y%m%dT%H%M%S%z", my_time) else: return time.strftime("%Y-%m-%dT%H:%M:%S%z", my_time)
def isodate(now=int(time.time()), utc=False, short=False): """ This function converts seconds since epoch into ISO timestamp """ if utc: my_time = time.gmtime(now) else: my_time = time.localtime(now) if short: if utc: return time.strftime("%Y%m%dT%H%M%SZ", my_time) else: return time.strftime("%Y%m%dT%H%M%S%z", my_tim...
455,282
def isodate(now=int(time.time()), utc=False, short=False): """ This function converts seconds since epoch into ISO timestamp """ if utc: my_time = time.gmtime(now) else: my_time = time.localtime(now) if short: return time.strftime("%Y%m%dT%H%M%S%z", my_time) else: return time.strftime("%Y-%m-%dT%H:%M:%S%z", my_time)
def isodate(now=int(time.time()), utc=False, short=False): """ This function converts seconds since epoch into ISO timestamp """ if utc: my_time = time.gmtime(now) else: my_time = time.localtime(now) if short: return time.strftime("%Y%m%dT%H%M%S%z", my_time) else: if utc: return time.strftime("%Y-%m-%dT%H:%M:%SZ", my...
455,283
def epochdate(timestamp, short=False): """ This function converts an ISO timestamp into seconds since epoch Set short to False when the timestamp is in the YYYY-MM-DDTHH:MM:SSZZZ:ZZ format Set short to True when the timestamp is in the YYYYMMDDTHHMMSSZZZZZ format """ try: # Split date/time and timezone information m =...
def epochdate(timestamp, short=False): """ This function converts an ISO timestamp into seconds since epoch Set short to False when the timestamp is in the YYYY-MM-DDTHH:MM:SSZZZ:ZZ format Set short to True when the timestamp is in the YYYYMMDDTHHMMSSZZZZZ format """ try: # Split date/time and timezone information m =...
455,284
def keep_foreground(): """ This function turns the program into almost a daemon, but keep in foreground for Condor. It does not take any parameters and does not return anything. """ # Go to a safe place that is not susceptible to sudden umounts # FIX THIS: It may break some things try: os.chdir('/') except: logger.cri...
def keep_foreground(): """ This function turns the program into almost a daemon, but keep in foreground for Condor. It does not take any parameters and does not return anything. """ # Go to a safe place that is not susceptible to sudden umounts # FIX THIS: It may break some things try: os.chdir('/') except: logger.cri...
455,285
def slurp_braindb(run, brain_alternate=None): """ Reads extra configuration from braindump database Param: run is the run directory Returns: Dictionary with the configuration, empty if error """ my_config = {} if brain_alternate is None: my_braindb = os.path.join(run, brainbase) else: my_braindb = os.path.join(run, br...
def slurp_braindb(run, brain_alternate=None): """ Reads extra configuration from braindump database Param: run is the run directory Returns: Dictionary with the configuration, empty if error """ my_config = {} if brain_alternate is None: my_braindb = os.path.join(run, brainbase) else: my_braindb = os.path.join(run, br...
455,286
def main(): usage = "%prog [options] DAGFILE" description = """Parses DAGFILE and generates a DOT-formatted
def main(): usage = "%prog [options] DAGFILE" description = """Parses DAGFILE and generates a DOT-formatted
455,287
def checkMyProxy( self , proxy=None, Time=100, checkRetrieverRenewer=False): """ Note The Name is Really CONFUSING... but functionality is the same as for myproxy """ expires = None if userKerb == None: userKerb = self.getUserKerberos()
def checkMyProxy( self , userKerb=None, Time=100, checkRetrieverRenewer=False): """ Note The Name is Really CONFUSING... but functionality is the same as for myproxy """ expires = None if userKerb == None: userKerb = self.getUserKerberos()
455,288
def checkMyProxy( self , proxy=None, Time=100, checkRetrieverRenewer=False): """ Note The Name is Really CONFUSING... but functionality is the same as for myproxy """ expires = None if userKerb == None: userKerb = self.getUserKerberos()
def checkMyProxy( self , proxy=None, Time=100, checkRetrieverRenewer=False): """ Note The Name is Really CONFUSING... but functionality is the same as for myproxy """ expires = None if userKerb == None: userKerb = self.getUserKerberos()
455,289
def generateJobConfig(self, jobSpecNode): """ _generateJobConfig_
def generateJobConfig(self, jobSpecNode): """ _generateJobConfig_
455,290
def generateJobConfig(self, jobSpecNode): """ _generateJobConfig_
def generateJobConfig(self, jobSpecNode): """ _generateJobConfig_
455,291
def ldapsearch(host, dn, filter, attr, logging, scope=ldap.SCOPE_SUBTREE, retries=5): timeout = 45 # seconds for i in range(retries+1): try: if i > 0: logging.info("Retrying ldapsearch ... (%i/%i)" % (i, retries)) time.sleep(i*10) con = ldap.initialize(host) # host = ldap://hostname[:port] bind = TimeoutFunctio...
def ldapsearch(host, dn, filter, attr, logging, scope=ldap.SCOPE_SUBTREE, retries=5): timeout = 45 # seconds for i in range(retries+1): try: if i > 0: logging.debug("Retrying ldapsearch ... (%i/%i)" % (i, retries)) time.sleep(i*10) con = ldap.initialize(host) # host = ldap://hostname[:port] bind = TimeoutFuncti...
455,292
def pick_CEs_from_giis_trees(self, root, tags, vos, seList, blacklist, whitelist, full): """ Recursively traverse the GIIS tree, starting from 'root', return CEs fullfilling requirements. """
def pick_CEs_from_giis_trees(self, root, tags, vos, seList, blacklist, whitelist, full): """ Recursively traverse the GIIS tree, starting from 'root', return CEs fullfilling requirements. """
455,293
def __call__(self, *args): old = signal.signal(signal.SIGALRM, self.handle_timeout) signal.alarm(self.timeout) try: result = self.function(*args) finally: signal.signal(signal.SIGALRM, old) signal.alarm(0) return result
def __call__(self, *args): old = signal.signal(signal.SIGALRM, self.handle_timeout) signal.alarm(self.timeout) try: result = self.function(*args) finally: signal.signal(signal.SIGALRM, old) signal.alarm(0) return result
455,294
def query(self, obj, service='', objType='node'): """ Query status and eventually other scheduler related information, and store it in the job.runningJob data structure.
def query(self, obj, service='', objType='node'): """ Query status and eventually other scheduler related information, and store it in the job.runningJob data structure.
455,295
def logonMyProxy( self, proxyCache, userDN, vo='cms', group=None, role=None): """ """
def logonMyProxy( self, proxyCache, userDN, vo='cms', group=None, role=None): """ """
455,296
def getPileupFiles(self, *sites): """ _getPileupFiles_
def getPileupFiles(self, *sites): """ _getPileupFiles_
455,297
def updateLFN(f, lfn, newLFN): """ _updateLFN_ Update a LFN. """ if f['LFN'] != lfn: return f['LFN'] = newLFN return
def updateLFN(f, lfn, newLFN): """ _updateLFN_ Update a LFN. """ if f['LFN'] != lfn: return f['LFN'] = newLFN return
455,298
def updateLFN(f, lfn, newLFN): """ _updateLFN_ Update a LFN. """ if f['LFN'] != lfn: return f['LFN'] = newLFN return
def updateLFN(f, lfn, newLFN): """ _updateLFN_ Update a LFN. """ if f['LFN'] != lfn: return f['LFN'] = newLFN return
455,299