rem stringlengths 1 322k | add stringlengths 0 2.05M | context stringlengths 4 228k | meta stringlengths 156 215 |
|---|---|---|---|
help="don't set cfg permissions") | help="don't set file permissions") | def arguments(): """Defines the command line arguments for the script.""" main_desc = ("Mirror a remote FTP directory into a local directory or vice " "versa through the lftp program") subs_desc = "Select a running mode from the following:" epilog = ("For detailed help for each mode, select a mode followed by help " "o... | c7e05ae4c1252c5135721aef8454b6d595bc159a /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/11247/c7e05ae4c1252c5135721aef8454b6d595bc159a/lftp_mirror.py |
help="don't apply umask to cfg modes") | help="don't apply umask to file modes") | def arguments(): """Defines the command line arguments for the script.""" main_desc = ("Mirror a remote FTP directory into a local directory or vice " "versa through the lftp program") subs_desc = "Select a running mode from the following:" epilog = ("For detailed help for each mode, select a mode followed by help " "o... | c7e05ae4c1252c5135721aef8454b6d595bc159a /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/11247/c7e05ae4c1252c5135721aef8454b6d595bc159a/lftp_mirror.py |
def bes_unit_size(f_size): """Get a size in bytes and convert it for the best unit for readability. Return two values: (int) bu_size -- Size of the path converted to the best unit for easy read (str) unit -- The units (IEC) for bu_size (from bytes(2^0) to YiB(2^80)) | def best_unit_size(bytes_size): """Get a size in bytes & convert it to the best IEC prefix for readability. Return a dictionary with three pair of keys/values: 's' -- (float) Size of path converted to the best unit for easy read 'u' -- (str) The prefix (IEC) for s (from bytes(2^0) to YiB(2^80)) 'b' -- (int / long) Th... | def bes_unit_size(f_size): """Get a size in bytes and convert it for the best unit for readability. Return two values: (int) bu_size -- Size of the path converted to the best unit for easy read (str) unit -- The units (IEC) for bu_size (from bytes(2^0) to YiB(2^80)) """ for exp in range(0, 90 , 10): bu_size = f_size... | 1e55dfd1e4620675c50101ad75fc64ec14a8fb4f /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/11247/1e55dfd1e4620675c50101ad75fc64ec14a8fb4f/lftp_mirror.py |
bu_size = f_size / pow(2.0, exp) | bu_size = abs(bytes_size) / pow(2.0, exp) | def bes_unit_size(f_size): """Get a size in bytes and convert it for the best unit for readability. Return two values: (int) bu_size -- Size of the path converted to the best unit for easy read (str) unit -- The units (IEC) for bu_size (from bytes(2^0) to YiB(2^80)) """ for exp in range(0, 90 , 10): bu_size = f_size... | 1e55dfd1e4620675c50101ad75fc64ec14a8fb4f /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/11247/1e55dfd1e4620675c50101ad75fc64ec14a8fb4f/lftp_mirror.py |
return {'s':bu_size, 'u':unit} | return {'s':bu_size, 'u':unit, 'b':bytes_size} | def bes_unit_size(f_size): """Get a size in bytes and convert it for the best unit for readability. Return two values: (int) bu_size -- Size of the path converted to the best unit for easy read (str) unit -- The units (IEC) for bu_size (from bytes(2^0) to YiB(2^80)) """ for exp in range(0, 90 , 10): bu_size = f_size... | 1e55dfd1e4620675c50101ad75fc64ec14a8fb4f /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/11247/1e55dfd1e4620675c50101ad75fc64ec14a8fb4f/lftp_mirror.py |
if os.path.isfile(the_path): path_size = os.path.getsize(the_path) for path, dirs, files in os.walk(the_path): for fil in files: filename = os.path.join(path, fil) path_size += os.path.getsize(filename) | for path, directories, files in os.walk(the_path): for filename in files: path_size += os.lstat(os.path.join(path, filename)).st_size for directory in directories: path_size += os.lstat(os.path.join(path, directory)).st_size path_size += os.path.getsize(the_path) | def get_size(the_path): """Get size of a directory tree or a file in bytes.""" path_size = 0 if os.path.isfile(the_path): path_size = os.path.getsize(the_path) for path, dirs, files in os.walk(the_path): for fil in files: filename = os.path.join(path, fil) path_size += os.path.getsize(filename) return path_size | 1e55dfd1e4620675c50101ad75fc64ec14a8fb4f /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/11247/1e55dfd1e4620675c50101ad75fc64ec14a8fb4f/lftp_mirror.py |
log_size = get_size(log.filename) | log_size = get_size(log.filename) if os.path.exists(log.filename) else 0 | def mirror(args, log): """Mirror the directories.""" user = '' if args.anonymous else ' '.join(args.login) local, remote = os.path.normpath(args.local), os.path.normpath(args.remote) port = '-p {0}'.format(args.port) if args.port else '' include = ' --include-glob {0}'.format(args.inc_glob) if args.inc_glob else '' ex... | 1e55dfd1e4620675c50101ad75fc64ec14a8fb4f /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/11247/1e55dfd1e4620675c50101ad75fc64ec14a8fb4f/lftp_mirror.py |
size = bes_unit_size(local_size + gz_size + log_size) | size = best_unit_size(local_size + gz_size + log_size) | def mirror(args, log): """Mirror the directories.""" user = '' if args.anonymous else ' '.join(args.login) local, remote = os.path.normpath(args.local), os.path.normpath(args.remote) port = '-p {0}'.format(args.port) if args.port else '' include = ' --include-glob {0}'.format(args.inc_glob) if args.inc_glob else '' ex... | 1e55dfd1e4620675c50101ad75fc64ec14a8fb4f /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/11247/1e55dfd1e4620675c50101ad75fc64ec14a8fb4f/lftp_mirror.py |
help="Loop until no changes found") | help="loop until no changes found") | def arguments(): """Defines the command line arguments for the script.""" main_desc = ("Mirror a remote FTP directory into a local directory or vice " "versa through the lftp program") subs_desc = "Select a running mode from the following:" epilog = ("For detailed help for each mode, select a mode followed by help " "o... | b55a11297d9de7dc620612565a4bad60cdb54739 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/11247/b55a11297d9de7dc620612565a4bad60cdb54739/lftp_mirror.py |
if isinstance(DATA, str): | if isinstance(DATA, str) or isinstance(DATA, unicode): | def send_body(self, DATA, code = None, msg = None, desc = None, ctype='application/octet-stream', headers={}): """ send a body in one part """ log.debug("Use send_body method") | 2c9c902c5427290cce66869ba4e782f372dd9428 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/195/2c9c902c5427290cce66869ba4e782f372dd9428/WebDAVServer.py |
if isinstance(DATA, str): | if isinstance(DATA, str) or isinstance(DATA, unicode): | def send_body(self, DATA, code = None, msg = None, desc = None, ctype='application/octet-stream', headers={}): """ send a body in one part """ log.debug("Use send_body method") | 2c9c902c5427290cce66869ba4e782f372dd9428 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/195/2c9c902c5427290cce66869ba4e782f372dd9428/WebDAVServer.py |
def send_body_chunks(self, DATA, code, msg, desc, ctype='text/xml; encoding="utf-8"'): | def send_body_chunks(self, DATA, code, msg=None, desc=None, ctype='text/xml"', headers={}): | def send_body_chunks(self, DATA, code, msg, desc, ctype='text/xml; encoding="utf-8"'): """ send a body in chunks """ | 2c9c902c5427290cce66869ba4e782f372dd9428 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/195/2c9c902c5427290cce66869ba4e782f372dd9428/WebDAVServer.py |
if isinstance(DATA, str): | if isinstance(DATA, str) or isinstance(DATA, unicode): | def send_body_chunks(self, DATA, code, msg, desc, ctype='text/xml; encoding="utf-8"'): """ send a body in chunks """ | 2c9c902c5427290cce66869ba4e782f372dd9428 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/195/2c9c902c5427290cce66869ba4e782f372dd9428/WebDAVServer.py |
self.log_request(status_code) | def do_OPTIONS(self): """return the list of capabilities """ | 2c9c902c5427290cce66869ba4e782f372dd9428 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/195/2c9c902c5427290cce66869ba4e782f372dd9428/WebDAVServer.py | |
if isinstance(data, str): | if isinstance(data, str) or isinstance(data, unicode): | def _HEAD_GET(self, with_body=False): """ Returns headers and body for given resource """ | 2c9c902c5427290cce66869ba4e782f372dd9428 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/195/2c9c902c5427290cce66869ba4e782f372dd9428/WebDAVServer.py |
if range[0] == '': range[0] = 0 else: range[0] = int(range[0]) | def get_data(self,uri, range = None): """ return the content of an object """ path=self.uri2local(uri) if os.path.exists(path): if os.path.isfile(path): file_size = os.path.getsize(path) if range == None: fp=open(path,"r") log.info('Serving content of %s' % uri) return Resource(fp, file_size) else: if range[0] == '': r... | 3317089a4a7d70c10b8e59917d5df4e46e576cd5 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/195/3317089a4a7d70c10b8e59917d5df4e46e576cd5/fshandler.py | |
msg = _(u'Invalid time') + u' (0:00-23:59): ' + unicode(time) | msg = _(u'Invalid time (0:00-23:59): ${time}', mapping=dict(time=unicode(time))) | def edit_entry(self, **kwargs): """ In this call we handle a form which contains one entry. This entry has a text and time field which we expect to change. """ plone = self.getCommandSet("plone") core = self.getCommandSet("core") tracker = get_tracker(self.context) text = self.request.get('text') if not text: message =... | 071da54618d32831b26ea5ffd32fb5990167a7b4 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/10445/071da54618d32831b26ea5ffd32fb5990167a7b4/entry.py |
rounded_time = mx.DateTime.DateTimeDelta( time.day, time.hour, math.ceil(time.minutes)) | rounded_time = round_time_to_minutes(time) | def add_entry(tracker, task, text): current_time = mx.DateTime.now() time = current_time - tracker.starttime rounded_time = mx.DateTime.DateTimeDelta( time.day, time.hour, math.ceil(time.minutes)) task.entries.append(Entry(text, rounded_time)) # Reset the timer's start time tracker.starttime = current_time | 5b4f830c9e3c55def8a244fe3cba8b36027844b3 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/10445/5b4f830c9e3c55def8a244fe3cba8b36027844b3/tracker.py |
zopepublication.ZopePublication.handleException = handleException | def handleException(self, object, request, exc_info, retry_allowed=True): orig = removeAllProxies(object) oldHandleException(self, object, request, exc_info, retry_allowed=retry_allowed) if type(orig) is MethodType: notify(AfterCallEvent(orig.im_self, request)) else: notify(AfterCallEvent(orig, request)) | e6bd781834a37d48e08a161fdacd6896d61241e2 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12538/e6bd781834a37d48e08a161fdacd6896d61241e2/publication.py | |
self.uid = md5.md5(time.ctime()).hexdigest() | return md5.md5(datetime.datetime.now().isoformat()).hexdigest() | def generate(self): self.uid = md5.md5(time.ctime()).hexdigest() | 1468d7a5cbecef1ae640f2cb07058062dead10cd /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12538/1468d7a5cbecef1ae640f2cb07058062dead10cd/siteuid.py |
notify(AfterCallEvent(orig.im_self, request)) | notify(AfterExceptionCallEvent(orig.im_self, request)) | def handleException(self, object, request, exc_info, retry_allowed=True): orig = removeAllProxies(object) oldHandleException(self, object, request, exc_info, retry_allowed=retry_allowed) if type(orig) is MethodType: notify(AfterCallEvent(orig.im_self, request)) else: notify(AfterCallEvent(orig, request)) | 292e3e64b93e452d2f3a5e921935aaaafaa690cc /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12538/292e3e64b93e452d2f3a5e921935aaaafaa690cc/publication.py |
notify(AfterCallEvent(orig, request)) | notify(AfterExceptionCallEvent(orig, request)) | def handleException(self, object, request, exc_info, retry_allowed=True): orig = removeAllProxies(object) oldHandleException(self, object, request, exc_info, retry_allowed=retry_allowed) if type(orig) is MethodType: notify(AfterCallEvent(orig.im_self, request)) else: notify(AfterCallEvent(orig, request)) | 292e3e64b93e452d2f3a5e921935aaaafaa690cc /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12538/292e3e64b93e452d2f3a5e921935aaaafaa690cc/publication.py |
zopepublication.ZopePublication.handleException = handleException | def handleException(self, object, request, exc_info, retry_allowed=True): orig = removeAllProxies(object) oldHandleException(self, object, request, exc_info, retry_allowed=retry_allowed) if type(orig) is MethodType: notify(AfterCallEvent(orig.im_self, request)) else: notify(AfterCallEvent(orig, request)) | 292e3e64b93e452d2f3a5e921935aaaafaa690cc /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12538/292e3e64b93e452d2f3a5e921935aaaafaa690cc/publication.py | |
return md5.md5(datetime.datetime.now().isoformat()).hexdigest() | self.uid = md5.md5(datetime.datetime.now().isoformat()).hexdigest() return self.uid | def generate(self): return md5.md5(datetime.datetime.now().isoformat()).hexdigest() | 636dbee5af5669e66d38494dd22d946b63162bb1 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12538/636dbee5af5669e66d38494dd22d946b63162bb1/siteuid.py |
def handleException(self, object, request, exc_info, retry_allowed=True): super(BrowserPublication, self).handleException( object, request, exc_info, retry_allowed) orig = removeAllProxies(object) if type(orig) is MethodType: notify(AfterExceptionCallEvent(orig.im_self, request)) else: notify(AfterExceptionCallEvent(o... | def handleException(self, object, request, exc_info, retry_allowed=True): super(BrowserPublication, self).handleException( object, request, exc_info, retry_allowed) | 596f499971c34440f53282cbe7443d23c25f80f9 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12538/596f499971c34440f53282cbe7443d23c25f80f9/publication.py | |
if kickstartable and osname=='linux': | if kickstartable: | def run(self, params, args): | 7e59974a08f1c6c4daacc1a15cd8bdd3430e1a86 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/7066/7e59974a08f1c6c4daacc1a15cd8bdd3430e1a86/__init__.py |
[app_name, 'dhcp_filename','/install/sbin/kickstart.cgi']) | [app_name, 'dhcp_filename','pxelinux.0']) | def run(self, params, args): | 7e59974a08f1c6c4daacc1a15cd8bdd3430e1a86 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/7066/7e59974a08f1c6c4daacc1a15cd8bdd3430e1a86/__init__.py |
rows = self.db.execute("""select id from subnets where name = '%s'""" % network) | if network == 'all': inid = '0' else: rows = self.db.execute("""select id from subnets where name = '%s'""" % network) | def deleteRule(self, table, extrawhere, service, network, outnetwork, chain, action, protocol): | 69fe5103efe10a7a950fb5dfe8060fba934d0160 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/7066/69fe5103efe10a7a950fb5dfe8060fba934d0160/__init__.py |
if rows == 0: self.abort('network "%s" not in database' % network) | if rows == 0: self.abort('network "%s" not in ' + 'database' % network) | def deleteRule(self, table, extrawhere, service, network, outnetwork, chain, action, protocol): | 69fe5103efe10a7a950fb5dfe8060fba934d0160 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/7066/69fe5103efe10a7a950fb5dfe8060fba934d0160/__init__.py |
inid, = self.db.fetchone() | inid, = self.db.fetchone() | def deleteRule(self, table, extrawhere, service, network, outnetwork, chain, action, protocol): | 69fe5103efe10a7a950fb5dfe8060fba934d0160 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/7066/69fe5103efe10a7a950fb5dfe8060fba934d0160/__init__.py |
rows = self.db.execute("""select id from subnets where name = '%s'""" % outnetwork) | if outnetwork == 'all': outid = '0' else: rows = self.db.execute("""select id from subnets where name = '%s'""" % outnetwork) | def deleteRule(self, table, extrawhere, service, network, outnetwork, chain, action, protocol): | 69fe5103efe10a7a950fb5dfe8060fba934d0160 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/7066/69fe5103efe10a7a950fb5dfe8060fba934d0160/__init__.py |
if rows == 0: self.abort('output-network "%s" not in database' % network) | if rows == 0: self.abort('output-network "%s" not ' + 'in database' % network) | def deleteRule(self, table, extrawhere, service, network, outnetwork, chain, action, protocol): | 69fe5103efe10a7a950fb5dfe8060fba934d0160 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/7066/69fe5103efe10a7a950fb5dfe8060fba934d0160/__init__.py |
outid, = self.db.fetchone() | outid, = self.db.fetchone() | def deleteRule(self, table, extrawhere, service, network, outnetwork, chain, action, protocol): | 69fe5103efe10a7a950fb5dfe8060fba934d0160 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/7066/69fe5103efe10a7a950fb5dfe8060fba934d0160/__init__.py |
(state, key) = self.fillParams([ ('state', ), | (switch, key) = self.fillParams([ ('switch', ), | def run(self, params, args): (state, key) = self.fillParams([ ('state', ), ('key', ) ]) if not len(args): self.abort('must supply at least one host') | 77ee7a58c6eefac15a0bff050bdda25dd029ab49 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/7066/77ee7a58c6eefac15a0bff050bdda25dd029ab49/__init__.py |
if state not in [ 'on', 'off' ]: self.abort('invalid state. state must be "on" or "off"') | if switch not in [ 'on', 'off' ]: self.abort('invalid switch value. ' + 'switch must be "on" or "off"') if key and not os.path.exists(key): self.abort("can't access the private key '%s'" % key) | def run(self, params, args): (state, key) = self.fillParams([ ('state', ), ('key', ) ]) if not len(args): self.abort('must supply at least one host') | 77ee7a58c6eefac15a0bff050bdda25dd029ab49 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/7066/77ee7a58c6eefac15a0bff050bdda25dd029ab49/__init__.py |
self.runPlugins([host, state, key]) | self.runPlugins([host, switch, key]) | def run(self, params, args): (state, key) = self.fillParams([ ('state', ), ('key', ) ]) if not len(args): self.abort('must supply at least one host') | 77ee7a58c6eefac15a0bff050bdda25dd029ab49 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/7066/77ee7a58c6eefac15a0bff050bdda25dd029ab49/__init__.py |
for host in self.getHostnames(args): if host == self.db.getHostname('localhost'): continue | hosts = [] if len(args) == 0: for host in self.getHostnames(args): if host == self.db.getHostname('localhost'): continue | def run(self, params, args): | 0148f92b238c7cf18e6b0128101f17304d689e7a /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/7066/0148f92b238c7cf18e6b0128101f17304d689e7a/__init__.py |
part = disk.next_partition(part) if bootPart: | speedend = speedend + 1 if speedend != 0: speed = self.serialOptions[:speedend] else: speed = "9600" f.write("serial --unit=%s --speed=%s\n" %(unit, speed)) f.write("terminal --timeout=5 serial console\n") else: if os.access("%s/boot/grub/splash.xpm.gz" %(instRoot,), os.R_OK): f.write('splashimage=%s%sgrub/splash.xp... | def bootloaderSetupChoices(anaconda): if anaconda.dir == DISPATCH_BACK: return # FIXME: this is a hack... if flags.livecd: return if anaconda.id.ksdata: anaconda.id.bootloader.updateDriveList(anaconda.id.ksdata.bootloader["driveorder"]) else: anaconda.id.bootloader.updateDriveList() | 583246e158d09b4e23c27cb6c4ae52ba7fa7afdb /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/7066/583246e158d09b4e23c27cb6c4ae52ba7fa7afdb/bootloaderInfo.py |
if bootPart: anaconda.id.bootloader.setDevice(bootPart) dev = Device() dev.device = bootPart anaconda.id.fsset.add(FileSystemSetEntry(dev, None, fileSystemTypeGet("PPC PReP Boot"))) choices = anaconda.id.fsset.bootloaderChoices(anaconda.id.diskset, anaconda.id.bootloader) if not choices and iutil.getPPCMachine() != "i... | if self.serial: unit = self.serialDevice[-1] config.addEntry("serial=%s" %(unit,)) else: if os.access(instRoot + message, os.R_OK): config.addEntry("message", message, replace = 0) if not config.testEntry('lba32'): if self.forceLBA32 or (bl.above1024 and rhpl.getArch() != "x86_64"): config.addEntry("lba32", repl... | def bootloaderSetupChoices(anaconda): if anaconda.dir == DISPATCH_BACK: return # FIXME: this is a hack... if flags.livecd: return if anaconda.id.ksdata: anaconda.id.bootloader.updateDriveList(anaconda.id.ksdata.bootloader["driveorder"]) else: anaconda.id.bootloader.updateDriveList() | 583246e158d09b4e23c27cb6c4ae52ba7fa7afdb /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/7066/583246e158d09b4e23c27cb6c4ae52ba7fa7afdb/bootloaderInfo.py |
bootDev = anaconda.id.fsset.getEntryByMountPoint("/") if not bootDev: bootDev = anaconda.id.fsset.getEntryByMountPoint("/boot") part = partedUtils.get_partition_by_name(anaconda.id.diskset.disks, bootDev.device.getDevice()) if part and partedUtils.end_sector_to_cyl(part.geom.dev, part.geom.end) >= 1024: anaconda.id.bo... | def writeZipl(self, instRoot, fsset, bl, langs, kernelList, chainList, defaultDev, justConfigFile): images = bl.images.getImages() rootDev = fsset.getEntryByMountPoint("/").device.getDevice() cf = '/etc/zipl.conf' self.perms = 0600 if os.access (instRoot + cf, os.R_OK): self.perms = os.stat(instRoot + cf)[0] & 0777 os... | def bootloaderSetupChoices(anaconda): if anaconda.dir == DISPATCH_BACK: return # FIXME: this is a hack... if flags.livecd: return if anaconda.id.ksdata: anaconda.id.bootloader.updateDriveList(anaconda.id.ksdata.bootloader["driveorder"]) else: anaconda.id.bootloader.updateDriveList() | 583246e158d09b4e23c27cb6c4ae52ba7fa7afdb /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/7066/583246e158d09b4e23c27cb6c4ae52ba7fa7afdb/bootloaderInfo.py |
def writeBootloader(anaconda): def dosync(): | def __init__(self): bootloaderInfo.__init__(self) self.useZiplVal = 1 self.kernelLocation = "/boot/" self.configfile = "/etc/zipl.conf" class alphaBootloaderInfo(bootloaderInfo): def wholeDevice (self, path): (device, foo) = getDiskPart(path) return device def partitionNum (self, path): (foo, partitionNumber) = ge... | def bootloaderSetupChoices(anaconda): if anaconda.dir == DISPATCH_BACK: return # FIXME: this is a hack... if flags.livecd: return if anaconda.id.ksdata: anaconda.id.bootloader.updateDriveList(anaconda.id.ksdata.bootloader["driveorder"]) else: anaconda.id.bootloader.updateDriveList() | 583246e158d09b4e23c27cb6c4ae52ba7fa7afdb /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/7066/583246e158d09b4e23c27cb6c4ae52ba7fa7afdb/bootloaderInfo.py |
justConfigFile = not flags.setupFilesystems if anaconda.id.bootloader.defaultDevice == -1: return if anaconda.isKickstart and anaconda.id.bootloader.doUpgradeOnly: import checkbootloader (bootType, theDev) = checkbootloader.getBootloaderTypeAndBoot(anaconda.rootPath) anaconda.id.bootloader.doUpgradeonly = 1 if boot... | ybinargs = [ yabootProg, "-f", "-C", cf ] if not flags.test: rhpl.executil.execWithRedirect(ybinargs[0], ybinargs, stdout = "/dev/tty5", stderr = "/dev/tty5", root = instRoot) if (not os.access(instRoot + "/etc/yaboot.conf", os.R_OK) and os.access(instRoot + "/boot/etc/yaboot.conf", os.R_OK)): os.symlink("../boot/et... | def dosync(): isys.sync() isys.sync() isys.sync() | 583246e158d09b4e23c27cb6c4ae52ba7fa7afdb /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/7066/583246e158d09b4e23c27cb6c4ae52ba7fa7afdb/bootloaderInfo.py |
rootDev = None kernelLabel = None kernelLongLabel = None def rectifyLuksName(anaconda, name): if name is not None and name.startswith('mapper/luks-'): try: newname = anaconda.id.partitions.encryptedDevices.get(name[12:]) if newname is None: for luksdev in anaconda.id.partitions.encryptedDevices.values(): if os.path.b... | if dev[-2] in string.digits: cut = -2 elif dev[-1] in string.digits: cut = -1 name = dev[:cut] if name[-1] == 'p': for letter in name: if letter not in string.letters and letter != "/": name = name[:-1] break if cut < 0: partNum = int(dev[cut:]) - 1 | def dosync(): isys.sync() isys.sync() isys.sync() | 583246e158d09b4e23c27cb6c4ae52ba7fa7afdb /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/7066/583246e158d09b4e23c27cb6c4ae52ba7fa7afdb/bootloaderInfo.py |
f.write("UPDATEDEFAULT=no\n") f.write("\n") f.write(" f.write("DEFAULTKERNEL=%s\n" %(defkern,)) f.close() dosync() | partNum = None return (name, partNum) def getRootDevName(initrd, fsset, rootDev, instRoot): if not os.access(instRoot + initrd, os.R_OK): return "/dev/%s" % (rootDev,) | def rectifyLuksName(anaconda, name): if name is not None and name.startswith('mapper/luks-'): try: newname = anaconda.id.partitions.encryptedDevices.get(name[12:]) if newname is None: for luksdev in anaconda.id.partitions.encryptedDevices.values(): if os.path.basename(luksdev.getDevice(encrypted=1)) == name[12:]: newna... | 583246e158d09b4e23c27cb6c4ae52ba7fa7afdb /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/7066/583246e158d09b4e23c27cb6c4ae52ba7fa7afdb/bootloaderInfo.py |
import time for i in range(0,3): anaconda.id.bootloader.write(anaconda.rootPath, anaconda.id.fsset, anaconda.id.bootloader, anaconda.id.instLanguage, kernelList, otherList, defaultDev, justConfigFile, anaconda.intf) dosync() time.sleep(1) if not justConfigFile: w.pop() except bootloaderInfo.BootyNoKernelWarn... | rootEntry = fsset.getEntryByMountPoint("/") if rootEntry.getLabel() is not None and rootEntry.device.getDevice().find('/mpath') == -1: return "LABEL=%s" %(rootEntry.getLabel(),) return "/dev/%s" %(rootDev,) except: return "/dev/%s" %(rootDev,) def getProductName(): if os.access("/etc/redhat-release", os.R_OK): f = ... | def rectifyLuksName(anaconda, name): if name is not None and name.startswith('mapper/luks-'): try: newname = anaconda.id.partitions.encryptedDevices.get(name[12:]) if newname is None: for luksdev in anaconda.id.partitions.encryptedDevices.values(): if os.path.basename(luksdev.getDevice(encrypted=1)) == name[12:]: newna... | 583246e158d09b4e23c27cb6c4ae52ba7fa7afdb /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/7066/583246e158d09b4e23c27cb6c4ae52ba7fa7afdb/bootloaderInfo.py |
return bootloaderInfo.isolinuxBootloaderInfo() def hasWindows(bl): foundWindows = False for (k,v) in bl.images.getImages().iteritems(): if v[0].lower() == 'other' and v[2] in bootloaderInfo.dosFilesystems: foundWindows = True break return foundWindows | path = None if path is not None: f = open(path, "r") lines = f.readlines() f.close() if len(lines) >= 2: return lines[1][:-1] return "Red Hat Linux" | def getBootloader(): if not flags.livecd: return booty.getBootloader() else: return bootloaderInfo.isolinuxBootloaderInfo() | 583246e158d09b4e23c27cb6c4ae52ba7fa7afdb /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/7066/583246e158d09b4e23c27cb6c4ae52ba7fa7afdb/bootloaderInfo.py |
s += "; import from %s\n" % filename | s += "\n;Imported from %s\n\n" % filename | def hostlocal(self, name, dnszone): "Appends any manually defined hosts to domain file" filename = '/var/named/%s.domain.local' % name s = '' if os.path.isfile(filename): s += "; import from %s\n" % filename file = open(filename, 'r') s += file.read() file.close() s += '\n' return s | ea008c73a4367fdbdef8c0dbe805cb32ca4e2039 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/7066/ea008c73a4367fdbdef8c0dbe805cb32ca4e2039/__init__.py |
s += '\n' | else: s += "</file>\n" s += '<file name="%s" perms="0644">\n' % filename s += ';Extra host mappings go here. Example\n' s += ';myhost A 10.1.1.1\n' | def hostlocal(self, name, dnszone): "Appends any manually defined hosts to domain file" filename = '/var/named/%s.domain.local' % name s = '' if os.path.isfile(filename): s += "; import from %s\n" % filename file = open(filename, 'r') s += file.read() file.close() s += '\n' return s | ea008c73a4367fdbdef8c0dbe805cb32ca4e2039 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/7066/ea008c73a4367fdbdef8c0dbe805cb32ca4e2039/__init__.py |
os.system('cp /tmp/*log /mnt/sysimage/root') | os.system('cp /tmp/*log /tmp/*debug /mnt/sysimage/root') | def writeGrub(self, instRoot, fsset, bl, langs, kernelList, chainList, defaultDev, justConfigFile): if len(kernelList) < 1: return "" images = bl.images.getImages() rootDev = fsset.getEntryByMountPoint("/").device.getDevice() | 0cd926b89fbf8f3ae08846fceb01dda66082b089 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/7066/0cd926b89fbf8f3ae08846fceb01dda66082b089/bootloaderInfo.py |
self.db.execute("select networks.ip, networks.device " +\ "from networks, nodes where " +\ "nodes.name='%s' " % (host) +\ | self.db.execute("select networks.ip, networks.device, " +\ "subnets.netmask from networks, nodes, " +\ "subnets where nodes.name='%s' " % (host)+\ "and networks.subnet=subnets.id " +\ | def run_sunos(self, host): # Ignore IPMI devices and get all the other configured # interfaces self.db.execute("select networks.ip, networks.device " +\ "from networks, nodes where " +\ "nodes.name='%s' " % (host) +\ "and networks.device!='ipmi' " +\ "and networks.node=nodes.id") | c648f91283e4672a6d000eda65c577697a536cb1 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/7066/c648f91283e4672a6d000eda65c577697a536cb1/__init__.py |
(ip, device) = row | (ip, device, netmask) = row | def run_sunos(self, host): # Ignore IPMI devices and get all the other configured # interfaces self.db.execute("select networks.ip, networks.device " +\ "from networks, nodes where " +\ "nodes.name='%s' " % (host) +\ "and networks.device!='ipmi' " +\ "and networks.node=nodes.id") | c648f91283e4672a6d000eda65c577697a536cb1 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/7066/c648f91283e4672a6d000eda65c577697a536cb1/__init__.py |
self.write_host_file_sunos(ip, device) | self.write_host_file_sunos(ip, netmask, device) | def run_sunos(self, host): # Ignore IPMI devices and get all the other configured # interfaces self.db.execute("select networks.ip, networks.device " +\ "from networks, nodes where " +\ "nodes.name='%s' " % (host) +\ "and networks.device!='ipmi' " +\ "and networks.node=nodes.id") | c648f91283e4672a6d000eda65c577697a536cb1 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/7066/c648f91283e4672a6d000eda65c577697a536cb1/__init__.py |
def write_host_file_sunos(self, ip, device): | def write_host_file_sunos(self, ip, netmask, device): | def write_host_file_sunos(self, ip, device): s = '<file name="/etc/hostname.%s">\n' % device s += "%s\n" % ip s += '</file>\n' self.addText(s) | c648f91283e4672a6d000eda65c577697a536cb1 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/7066/c648f91283e4672a6d000eda65c577697a536cb1/__init__.py |
s += "%s\n" % ip | s += "%s netmask %s\n" % (ip, netmask) | def write_host_file_sunos(self, ip, device): s = '<file name="/etc/hostname.%s">\n' % device s += "%s\n" % ip s += '</file>\n' self.addText(s) | c648f91283e4672a6d000eda65c577697a536cb1 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/7066/c648f91283e4672a6d000eda65c577697a536cb1/__init__.py |
Abort('unkown os "%s"' % arg) | Abort('unknown os "%s"' % arg) | def getOSNames(self, args=None): """Returns a list of OS names. For each arg in the ARGS list normalize the name to one of either 'linux' or 'sunos' as they are the only supported OSes. If the ARGS list is empty return a list of all supported OS names. """ | 99cc45e12fc061c709babc44a92db850713c8893 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/7066/99cc45e12fc061c709babc44a92db850713c8893/__init__.py |
if self.collate: | if collate: | def run(self, params, args): (args, command) = self.fillPositionalArgs(('command', )) | 2f25802df22113fa6ed2235e34ea434d4cefae28 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/7066/2f25802df22113fa6ed2235e34ea434d4cefae28/__init__.py |
<arg type='boolean' name='managed'> | <param type='boolean' name='managed'> | def kill(self): os.kill(self.p.pid, 9) | a8ce822aad90a4aa37cd74d25ca0939e0b97736a /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/7066/a8ce822aad90a4aa37cd74d25ca0939e0b97736a/__init__.py |
</arg> <arg type='boolean' name='x11'> | </param> <param type='boolean' name='x11'> | def kill(self): os.kill(self.p.pid, 9) | a8ce822aad90a4aa37cd74d25ca0939e0b97736a /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/7066/a8ce822aad90a4aa37cd74d25ca0939e0b97736a/__init__.py |
</arg> <arg type='string' name='timeout'> | </param> <param type='string' name='timeout'> | def kill(self): os.kill(self.p.pid, 9) | a8ce822aad90a4aa37cd74d25ca0939e0b97736a /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/7066/a8ce822aad90a4aa37cd74d25ca0939e0b97736a/__init__.py |
</arg> <arg type='string' name='delay'> | </param> <param type='string' name='delay'> | def kill(self): os.kill(self.p.pid, 9) | a8ce822aad90a4aa37cd74d25ca0939e0b97736a /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/7066/a8ce822aad90a4aa37cd74d25ca0939e0b97736a/__init__.py |
</arg> <arg type='string' name='stats'> | </param> <param type='string' name='stats'> | def kill(self): os.kill(self.p.pid, 9) | a8ce822aad90a4aa37cd74d25ca0939e0b97736a /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/7066/a8ce822aad90a4aa37cd74d25ca0939e0b97736a/__init__.py |
</arg> <arg type='string' name='collate'> | </param> <param type='string' name='collate'> | def kill(self): os.kill(self.p.pid, 9) | a8ce822aad90a4aa37cd74d25ca0939e0b97736a /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/7066/a8ce822aad90a4aa37cd74d25ca0939e0b97736a/__init__.py |
</arg> | </param> | def kill(self): os.kill(self.p.pid, 9) | a8ce822aad90a4aa37cd74d25ca0939e0b97736a /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/7066/a8ce822aad90a4aa37cd74d25ca0939e0b97736a/__init__.py |
is run on all known hosts. | is run on all 'managed' hosts. By default, all compute nodes are 'managed' nodes. To determine if a host is managed, execute: 'rocks list host attr hostname | grep managed'. If you see output like: 'compute-0-0: managed true', then the host is managed. | def kill(self): os.kill(self.p.pid, 9) | e0b724d46672e01c9122b59d446ca885d3832dc5 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/7066/e0b724d46672e01c9122b59d446ca885d3832dc5/__init__.py |
break | continue | def run_linux(self, host): self.db.execute("""select distinctrow net.mac, net.ip, net.device, if(net.subnet, s.netmask, NULL), net.vlanid, net.subnet, net.module, s.mtu, net.options, net.channel from networks net, nodes n, subnets s where net.node = n.id and if(net.subnet, net.subnet = s.id, true) and n.name = "%s" ord... | de2af271c0086e1e0c418feaa8a5494f7b8521b6 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/7066/de2af271c0086e1e0c418feaa8a5494f7b8521b6/__init__.py |
cmd = 'ssh %s "/sbin/service iptables stop" ' % host | cmd = 'ssh %s "/sbin/service iptables stop ' % host | def run(self, params, args): hosts = self.getHostnames(args, managed_only=1) | 9422765540ebf074ea77db6dc88423844a3af4b3 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/7066/9422765540ebf074ea77db6dc88423844a3af4b3/__init__.py |
cmd += ' ; "/sbin/service network restart" ' | cmd += ' ; /sbin/service network restart ' | def run(self, params, args): hosts = self.getHostnames(args, managed_only=1) | 9422765540ebf074ea77db6dc88423844a3af4b3 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/7066/9422765540ebf074ea77db6dc88423844a3af4b3/__init__.py |
cmd += ' ; "/sbin/service iptables start" ' cmd += '> /dev/null 2>&1' | cmd += ' ; /sbin/service iptables start ' cmd += '> /dev/null 2>&1" ' | def run(self, params, args): hosts = self.getHostnames(args, managed_only=1) | 9422765540ebf074ea77db6dc88423844a3af4b3 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/7066/9422765540ebf074ea77db6dc88423844a3af4b3/__init__.py |
sock.settimeout(2) | sock.settimeout(2.0) | def nodeup(self, host): sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM) sock.settimeout(2) try: # # this catches the case when the host is down # and/or there is no ssh daemon running # sock.connect((host, 22)) | 5d95b2d2198f1270fc75c39d766614b6c24705fb /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/7066/5d95b2d2198f1270fc75c39d766614b6c24705fb/__init__.py |
except socket.error: | except: | def nodeup(self, host): sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM) sock.settimeout(2) try: # # this catches the case when the host is down # and/or there is no ssh daemon running # sock.connect((host, 22)) | 5d95b2d2198f1270fc75c39d766614b6c24705fb /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/7066/5d95b2d2198f1270fc75c39d766614b6c24705fb/__init__.py |
(managed, x11, t, d, stats, collate, n) = \ | (managed, x11, t, d, s, c, n) = \ | def run(self, params, args): (args, command) = self.fillPositionalArgs(('command', )) | 5d95b2d2198f1270fc75c39d766614b6c24705fb /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/7066/5d95b2d2198f1270fc75c39d766614b6c24705fb/__init__.py |
if self.str2bool(collate): | collate = self.str2bool(c) stats = self.str2bool(s) if collate: | def run(self, params, args): (args, command) = self.fillPositionalArgs(('command', )) | 5d95b2d2198f1270fc75c39d766614b6c24705fb /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/7066/5d95b2d2198f1270fc75c39d766614b6c24705fb/__init__.py |
print '%s: down' | print '%s: down' % host numthreads += 1 work -= 1 | def run(self, params, args): (args, command) = self.fillPositionalArgs(('command', )) | 5d95b2d2198f1270fc75c39d766614b6c24705fb /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/7066/5d95b2d2198f1270fc75c39d766614b6c24705fb/__init__.py |
p = Parallel(self, cmd, host, self.str2bool(stats), self.str2bool(collate)) | p = Parallel(self, cmd, host, stats, collate) | def run(self, params, args): (args, command) = self.fillPositionalArgs(('command', )) | 5d95b2d2198f1270fc75c39d766614b6c24705fb /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/7066/5d95b2d2198f1270fc75c39d766614b6c24705fb/__init__.py |
if self.str2bool(collate): | if collate: | def run(self, params, args): (args, command) = self.fillPositionalArgs(('command', )) | 5d95b2d2198f1270fc75c39d766614b6c24705fb /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/7066/5d95b2d2198f1270fc75c39d766614b6c24705fb/__init__.py |
self.addOutput('','\t\t\tfilename %s;' % filename) | self.addOutput('','\t\t\tfilename "%s";' % filename) | def printHost(self, name, hostname, mac, ip): self.addOutput('', '\t\thost %s {' % name) if mac: self.addOutput('', '\t\t\thardware ethernet %s;' % mac) | d18dd5b346ae795f727645bf2b6cab0828ffd4f2 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/7066/d18dd5b346ae795f727645bf2b6cab0828ffd4f2/__init__.py |
syslog.syslog(syslog.LOG_INFO, 'handle (file="%s" time="%.6f")' % (filename, time)) | syslog.syslog(syslog.LOG_DEBUG, 'handle (file="%s" time="%.6f")' % (filename, time)) | def run(self, url, sig): | ae30754dcff39fdc4874e758fcc46c84f2bc917b /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/7066/ae30754dcff39fdc4874e758fcc46c84f2bc917b/411-alert-handler.py |
syslog.syslog(syslog.LOG_INFO, 'dup (file="%s" time="%.6f")' % (filename, time)) | syslog.syslog(syslog.LOG_DEBUG, 'dup (file="%s" time="%.6f")' % (filename, time)) | def run(self, url, sig): | ae30754dcff39fdc4874e758fcc46c84f2bc917b /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/7066/ae30754dcff39fdc4874e758fcc46c84f2bc917b/411-alert-handler.py |
for h in self.db.fetchall(): | for h, in self.db.fetchall(): | def getHostnames(self, names=None, managed_only=0): """Expands the given list of names to valid cluster hostnames. A name can be a hostname, IP address, our group (membership name), or a MAC address. Any combination of these is valid. If the names list is empty a list of all hosts in the cluster is returned. The foll... | 37954807f0f06d71983125a6800da27be9369c82 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/7066/37954807f0f06d71983125a6800da27be9369c82/__init__.py |
class IntArray: | class IntArray(_object): | def _swig_repr(self): try: strthis = "proxy of " + self.this.__repr__() except: strthis = "" return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,) | 7e632099fd421880c8c65fb0cf610d338d115ee9 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/8819/7e632099fd421880c8c65fb0cf610d338d115ee9/quickfix.py |
this = apply(_quickfix.new_IntArray, args) | this = _quickfix.new_IntArray(*args) | def __init__(self, *args): this = apply(_quickfix.new_IntArray, args) try: self.this.append(this) except: self.this = this | 7e632099fd421880c8c65fb0cf610d338d115ee9 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/8819/7e632099fd421880c8c65fb0cf610d338d115ee9/quickfix.py |
def __getitem__(*args): return apply(_quickfix.IntArray___getitem__, args) def __setitem__(*args): return apply(_quickfix.IntArray___setitem__, args) def cast(*args): return apply(_quickfix.IntArray_cast, args) | def __getitem__(*args): return _quickfix.IntArray___getitem__(*args) def __setitem__(*args): return _quickfix.IntArray___setitem__(*args) def cast(*args): return _quickfix.IntArray_cast(*args) | def __getitem__(*args): return apply(_quickfix.IntArray___getitem__, args) | 7e632099fd421880c8c65fb0cf610d338d115ee9 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/8819/7e632099fd421880c8c65fb0cf610d338d115ee9/quickfix.py |
this = apply(_quickfix.new_Exception, args) | this = _quickfix.new_Exception(*args) | def __init__(self, *args): this = apply(_quickfix.new_Exception, args) try: self.this.append(this) except: self.this = this | 7e632099fd421880c8c65fb0cf610d338d115ee9 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/8819/7e632099fd421880c8c65fb0cf610d338d115ee9/quickfix.py |
def __str__(*args): return apply(_quickfix.Exception___str__, args) | def __str__(*args): return _quickfix.Exception___str__(*args) | def __str__(*args): return apply(_quickfix.Exception___str__, args) | 7e632099fd421880c8c65fb0cf610d338d115ee9 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/8819/7e632099fd421880c8c65fb0cf610d338d115ee9/quickfix.py |
this = apply(_quickfix.new_DataDictionaryNotFound, args) | this = _quickfix.new_DataDictionaryNotFound(*args) | def __init__(self, *args): this = apply(_quickfix.new_DataDictionaryNotFound, args) try: self.this.append(this) except: self.this = this | 7e632099fd421880c8c65fb0cf610d338d115ee9 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/8819/7e632099fd421880c8c65fb0cf610d338d115ee9/quickfix.py |
this = apply(_quickfix.new_FieldNotFound, args) | this = _quickfix.new_FieldNotFound(*args) | def __init__(self, *args): this = apply(_quickfix.new_FieldNotFound, args) try: self.this.append(this) except: self.this = this | 7e632099fd421880c8c65fb0cf610d338d115ee9 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/8819/7e632099fd421880c8c65fb0cf610d338d115ee9/quickfix.py |
this = apply(_quickfix.new_FieldConvertError, args) | this = _quickfix.new_FieldConvertError(*args) | def __init__(self, *args): this = apply(_quickfix.new_FieldConvertError, args) try: self.this.append(this) except: self.this = this | 7e632099fd421880c8c65fb0cf610d338d115ee9 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/8819/7e632099fd421880c8c65fb0cf610d338d115ee9/quickfix.py |
this = apply(_quickfix.new_MessageParseError, args) | this = _quickfix.new_MessageParseError(*args) | def __init__(self, *args): this = apply(_quickfix.new_MessageParseError, args) try: self.this.append(this) except: self.this = this | 7e632099fd421880c8c65fb0cf610d338d115ee9 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/8819/7e632099fd421880c8c65fb0cf610d338d115ee9/quickfix.py |
this = apply(_quickfix.new_InvalidMessage, args) | this = _quickfix.new_InvalidMessage(*args) | def __init__(self, *args): this = apply(_quickfix.new_InvalidMessage, args) try: self.this.append(this) except: self.this = this | 7e632099fd421880c8c65fb0cf610d338d115ee9 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/8819/7e632099fd421880c8c65fb0cf610d338d115ee9/quickfix.py |
this = apply(_quickfix.new_ConfigError, args) | this = _quickfix.new_ConfigError(*args) | def __init__(self, *args): this = apply(_quickfix.new_ConfigError, args) try: self.this.append(this) except: self.this = this | 7e632099fd421880c8c65fb0cf610d338d115ee9 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/8819/7e632099fd421880c8c65fb0cf610d338d115ee9/quickfix.py |
this = apply(_quickfix.new_RuntimeError, args) | this = _quickfix.new_RuntimeError(*args) | def __init__(self, *args): this = apply(_quickfix.new_RuntimeError, args) try: self.this.append(this) except: self.this = this | 7e632099fd421880c8c65fb0cf610d338d115ee9 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/8819/7e632099fd421880c8c65fb0cf610d338d115ee9/quickfix.py |
this = apply(_quickfix.new_InvalidTagNumber, args) | this = _quickfix.new_InvalidTagNumber(*args) | def __init__(self, *args): this = apply(_quickfix.new_InvalidTagNumber, args) try: self.this.append(this) except: self.this = this | 7e632099fd421880c8c65fb0cf610d338d115ee9 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/8819/7e632099fd421880c8c65fb0cf610d338d115ee9/quickfix.py |
this = apply(_quickfix.new_RequiredTagMissing, args) | this = _quickfix.new_RequiredTagMissing(*args) | def __init__(self, *args): this = apply(_quickfix.new_RequiredTagMissing, args) try: self.this.append(this) except: self.this = this | 7e632099fd421880c8c65fb0cf610d338d115ee9 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/8819/7e632099fd421880c8c65fb0cf610d338d115ee9/quickfix.py |
this = apply(_quickfix.new_TagNotDefinedForMessage, args) | this = _quickfix.new_TagNotDefinedForMessage(*args) | def __init__(self, *args): this = apply(_quickfix.new_TagNotDefinedForMessage, args) try: self.this.append(this) except: self.this = this | 7e632099fd421880c8c65fb0cf610d338d115ee9 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/8819/7e632099fd421880c8c65fb0cf610d338d115ee9/quickfix.py |
this = apply(_quickfix.new_NoTagValue, args) | this = _quickfix.new_NoTagValue(*args) | def __init__(self, *args): this = apply(_quickfix.new_NoTagValue, args) try: self.this.append(this) except: self.this = this | 7e632099fd421880c8c65fb0cf610d338d115ee9 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/8819/7e632099fd421880c8c65fb0cf610d338d115ee9/quickfix.py |
this = apply(_quickfix.new_IncorrectTagValue, args) | this = _quickfix.new_IncorrectTagValue(*args) | def __init__(self, *args): this = apply(_quickfix.new_IncorrectTagValue, args) try: self.this.append(this) except: self.this = this | 7e632099fd421880c8c65fb0cf610d338d115ee9 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/8819/7e632099fd421880c8c65fb0cf610d338d115ee9/quickfix.py |
this = apply(_quickfix.new_IncorrectDataFormat, args) | this = _quickfix.new_IncorrectDataFormat(*args) | def __init__(self, *args): this = apply(_quickfix.new_IncorrectDataFormat, args) try: self.this.append(this) except: self.this = this | 7e632099fd421880c8c65fb0cf610d338d115ee9 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/8819/7e632099fd421880c8c65fb0cf610d338d115ee9/quickfix.py |
this = apply(_quickfix.new_IncorrectMessageStructure, args) | this = _quickfix.new_IncorrectMessageStructure(*args) | def __init__(self, *args): this = apply(_quickfix.new_IncorrectMessageStructure, args) try: self.this.append(this) except: self.this = this | 7e632099fd421880c8c65fb0cf610d338d115ee9 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/8819/7e632099fd421880c8c65fb0cf610d338d115ee9/quickfix.py |
this = apply(_quickfix.new_DuplicateFieldNumber, args) | this = _quickfix.new_DuplicateFieldNumber(*args) | def __init__(self, *args): this = apply(_quickfix.new_DuplicateFieldNumber, args) try: self.this.append(this) except: self.this = this | 7e632099fd421880c8c65fb0cf610d338d115ee9 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/8819/7e632099fd421880c8c65fb0cf610d338d115ee9/quickfix.py |
this = apply(_quickfix.new_InvalidMessageType, args) | this = _quickfix.new_InvalidMessageType(*args) | def __init__(self, *args): this = apply(_quickfix.new_InvalidMessageType, args) try: self.this.append(this) except: self.this = this | 7e632099fd421880c8c65fb0cf610d338d115ee9 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/8819/7e632099fd421880c8c65fb0cf610d338d115ee9/quickfix.py |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.