rem stringlengths 0 322k | add stringlengths 0 2.05M | context stringlengths 8 228k |
|---|---|---|
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... |
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 =... |
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 |
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)) | |
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() |
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)) |
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)) |
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)) | |
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() |
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) | |
if kickstartable and osname=='linux': | if kickstartable: | def run(self, params, args): |
[app_name, 'dhcp_filename','/install/sbin/kickstart.cgi']) | [app_name, 'dhcp_filename','pxelinux.0']) | def run(self, params, args): |
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): |
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): |
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): |
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): |
(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') |
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') |
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') |
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): |
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() |
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", repla... | 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() |
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.boo... | 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() |
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() |
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() |
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() |
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... |
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.BootyNoKernelWarning: if... | 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... |
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() |
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 |
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 |
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() |
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") |
(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") |
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") |
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) |
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) |
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. """ |
if self.collate: | if collate: | def run(self, params, args): (args, command) = self.fillPositionalArgs(('command', )) |
<arg type='boolean' name='managed'> | <param type='boolean' name='managed'> | def kill(self): os.kill(self.p.pid, 9) |
</arg> <arg type='boolean' name='x11'> | </param> <param type='boolean' name='x11'> | def kill(self): os.kill(self.p.pid, 9) |
</arg> <arg type='string' name='timeout'> | </param> <param type='string' name='timeout'> | def kill(self): os.kill(self.p.pid, 9) |
</arg> <arg type='string' name='delay'> | </param> <param type='string' name='delay'> | def kill(self): os.kill(self.p.pid, 9) |
</arg> <arg type='string' name='stats'> | </param> <param type='string' name='stats'> | def kill(self): os.kill(self.p.pid, 9) |
</arg> <arg type='string' name='collate'> | </param> <param type='string' name='collate'> | def kill(self): os.kill(self.p.pid, 9) |
</arg> | </param> | def kill(self): os.kill(self.p.pid, 9) |
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) |
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... |
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) |
cmd += ' ; "/sbin/service network restart" ' | cmd += ' ; /sbin/service network restart ' | def run(self, params, args): hosts = self.getHostnames(args, managed_only=1) |
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) |
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)) |
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)) |
(managed, x11, t, d, stats, collate, n) = \ | (managed, x11, t, d, s, c, n) = \ | def run(self, params, args): (args, command) = self.fillPositionalArgs(('command', )) |
if self.str2bool(collate): | collate = self.str2bool(c) stats = self.str2bool(s) if collate: | def run(self, params, args): (args, command) = self.fillPositionalArgs(('command', )) |
print '%s: down' | print '%s: down' % host numthreads += 1 work -= 1 | def run(self, params, args): (args, command) = self.fillPositionalArgs(('command', )) |
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', )) |
if self.str2bool(collate): | if collate: | def run(self, params, args): (args, command) = self.fillPositionalArgs(('command', )) |
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) |
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): |
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): |
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... |
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,) |
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 |
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) |
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 |
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) |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
this = apply(_quickfix.new_UnsupportedMessageType, args) | this = _quickfix.new_UnsupportedMessageType(*args) | def __init__(self, *args): this = apply(_quickfix.new_UnsupportedMessageType, args) try: self.this.append(this) except: self.this = this |
this = apply(_quickfix.new_UnsupportedVersion, args) | this = _quickfix.new_UnsupportedVersion(*args) | def __init__(self, *args): this = apply(_quickfix.new_UnsupportedVersion, args) try: self.this.append(this) except: self.this = this |
this = apply(_quickfix.new_TagOutOfOrder, args) | this = _quickfix.new_TagOutOfOrder(*args) | def __init__(self, *args): this = apply(_quickfix.new_TagOutOfOrder, args) try: self.this.append(this) except: self.this = this |
this = apply(_quickfix.new_RepeatedTag, args) | this = _quickfix.new_RepeatedTag(*args) | def __init__(self, *args): this = apply(_quickfix.new_RepeatedTag, args) try: self.this.append(this) except: self.this = this |
this = apply(_quickfix.new_RepeatingGroupCountMismatch, args) | this = _quickfix.new_RepeatingGroupCountMismatch(*args) | def __init__(self, *args): this = apply(_quickfix.new_RepeatingGroupCountMismatch, args) try: self.this.append(this) except: self.this = this |
this = apply(_quickfix.new_DoNotSend, args) | this = _quickfix.new_DoNotSend(*args) | def __init__(self, *args): this = apply(_quickfix.new_DoNotSend, args) try: self.this.append(this) except: self.this = this |
this = apply(_quickfix.new_RejectLogon, args) | this = _quickfix.new_RejectLogon(*args) | def __init__(self, *args): this = apply(_quickfix.new_RejectLogon, args) try: self.this.append(this) except: self.this = this |
this = apply(_quickfix.new_SessionNotFound, args) | this = _quickfix.new_SessionNotFound(*args) | def __init__(self, *args): this = apply(_quickfix.new_SessionNotFound, args) try: self.this.append(this) except: self.this = this |
this = apply(_quickfix.new_IOException, args) | this = _quickfix.new_IOException(*args) | def __init__(self, *args): this = apply(_quickfix.new_IOException, args) try: self.this.append(this) except: self.this = this |
this = apply(_quickfix.new_SocketException, args) try: self.this.append(this) except: self.this = this def errorToWhat(*args): return apply(_quickfix.SocketException_errorToWhat, args) | this = _quickfix.new_SocketException(*args) try: self.this.append(this) except: self.this = this def errorToWhat(*args): return _quickfix.SocketException_errorToWhat(*args) | def __init__(self, *args): this = apply(_quickfix.new_SocketException, args) try: self.this.append(this) except: self.this = this |
this = apply(_quickfix.new_SocketSendFailed, args) | this = _quickfix.new_SocketSendFailed(*args) | def __init__(self, *args): this = apply(_quickfix.new_SocketSendFailed, args) try: self.this.append(this) except: self.this = this |
this = apply(_quickfix.new_SocketRecvFailed, args) | this = _quickfix.new_SocketRecvFailed(*args) | def __init__(self, *args): this = apply(_quickfix.new_SocketRecvFailed, args) try: self.this.append(this) except: self.this = this |
this = apply(_quickfix.new_SocketCloseFailed, args) | this = _quickfix.new_SocketCloseFailed(*args) | def __init__(self, *args): this = apply(_quickfix.new_SocketCloseFailed, args) try: self.this.append(this) except: self.this = this |
class FieldBase: | class FieldBase(_object): | def __init__(self, *args): this = apply(_quickfix.new_SocketCloseFailed, args) try: self.this.append(this) except: self.this = this |
this = apply(_quickfix.new_FieldBase, args) | this = _quickfix.new_FieldBase(*args) | def __init__(self, *args): this = apply(_quickfix.new_FieldBase, args) try: self.this.append(this) except: self.this = this |
def setField(*args): return apply(_quickfix.FieldBase_setField, args) def setString(*args): return apply(_quickfix.FieldBase_setString, args) def getField(*args): return apply(_quickfix.FieldBase_getField, args) def getString(*args): return apply(_quickfix.FieldBase_getString, args) def getValue(*args): return apply(_q... | def setField(*args): return _quickfix.FieldBase_setField(*args) def setString(*args): return _quickfix.FieldBase_setString(*args) def getField(*args): return _quickfix.FieldBase_getField(*args) def getString(*args): return _quickfix.FieldBase_getString(*args) def getValue(*args): return _quickfix.FieldBase_getValue(*ar... | def setField(*args): return apply(_quickfix.FieldBase_setField, args) |
this = apply(_quickfix.new_StringField, args) try: self.this.append(this) except: self.this = this def setValue(*args): return apply(_quickfix.StringField_setValue, args) def getValue(*args): return apply(_quickfix.StringField_getValue, args) def __lt__(*args): return apply(_quickfix.StringField___lt__, args) def __gt_... | this = _quickfix.new_StringField(*args) try: self.this.append(this) except: self.this = this def setValue(*args): return _quickfix.StringField_setValue(*args) def getValue(*args): return _quickfix.StringField_getValue(*args) def __lt__(*args): return _quickfix.StringField___lt__(*args) def __gt__(*args): return _quickf... | def __init__(self, *args): this = apply(_quickfix.new_StringField, args) try: self.this.append(this) except: self.this = this |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.