rem
stringlengths
2
226k
add
stringlengths
0
227k
context
stringlengths
8
228k
meta
stringlengths
156
215
input_ids
list
attention_mask
list
labels
list
desc = self.get_descriptor_by_name(package, module_name, namespace)
def get_port_spec(self, package, module_name, namespace, port_name, port_type): try: desc = self.get_descriptor_by_name(package, module_name, namespace) for d in self.get_module_hierarchy(desc): if d.has_port_spec(port_name, port_type): return d.get_port_spec(port_name, port_type) except ModuleDescriptor.MissingPort: p...
b4dfc2201453244e1316ef69a2da21aff0fa9b93 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/6341/b4dfc2201453244e1316ef69a2da21aff0fa9b93/module_registry.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 67, 655, 67, 2793, 12, 2890, 16, 2181, 16, 1605, 67, 529, 16, 1981, 16, 1756, 67, 529, 16, 1756, 67, 723, 4672, 775, 30, 364, 302, 316, 365, 18, 588, 67, 2978, 67, 17937, 12, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 67, 655, 67, 2793, 12, 2890, 16, 2181, 16, 1605, 67, 529, 16, 1981, 16, 1756, 67, 529, 16, 1756, 67, 723, 4672, 775, 30, 364, 302, 316, 365, 18, 588, 67, 2978, 67, 17937, 12, ...
log.info("Making %s.dmg..." % name) makedmg.make_dmg(pkg_dir, self.dist_dir, name)
log.info("Making %s.dmg..." % fullname) makedmg.make_dmg(pkg_dir, self.dist_dir, fullname)
def run (self): name = self.distribution.metadata.name version = self.distribution.metadata.version description = self.distribution.metadata.description self.run_command('build') install = self.reinitialize_command('install', reinit_subcommands=1) install.root = self.bdist_dir install.warn_dir = 0 log.info("installi...
e24c7be3948de844c8f43e643c213af03f056b13 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9927/e24c7be3948de844c8f43e643c213af03f056b13/gamera_mac_setup.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1086, 261, 2890, 4672, 508, 273, 365, 18, 16279, 18, 4165, 18, 529, 1177, 273, 365, 18, 16279, 18, 4165, 18, 1589, 2477, 273, 365, 18, 16279, 18, 4165, 18, 3384, 225, 365, 18, 2681, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1086, 261, 2890, 4672, 508, 273, 365, 18, 16279, 18, 4165, 18, 529, 1177, 273, 365, 18, 16279, 18, 4165, 18, 1589, 2477, 273, 365, 18, 16279, 18, 4165, 18, 3384, 225, 365, 18, 2681, ...
QMessageBox.information(self, self.tr("Conversion Completed!!!"), self.tr("Finish. All files were converted!"), QMessageBox.Ok )
QMessageBox.information(self, self.tr("¡¡¡Conversion Completed!!!"), self.tr("Finish. All files were converted!"), QMessageBox.Ok )
def completed(self): global nomore #print "finished" if not nomore: #print "another file" self.actual=self.actual+1 #print self.actual #print self.total if self.actual<self.total: #print "process another" self.processStepbyStep() else: print "it's the end of the list as we know it ^_^" self.ui.b_back_2.setVisible(1) se...
a6d9db07e1edab74604f4c6e3d9dcd06364399ba /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/2564/a6d9db07e1edab74604f4c6e3d9dcd06364399ba/audioconversor.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 5951, 12, 2890, 4672, 2552, 12457, 479, 468, 1188, 315, 13527, 6, 309, 486, 12457, 479, 30, 468, 1188, 315, 304, 3011, 585, 6, 365, 18, 18672, 33, 2890, 18, 18672, 15, 21, 468, 1188, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 5951, 12, 2890, 4672, 2552, 12457, 479, 468, 1188, 315, 13527, 6, 309, 486, 12457, 479, 30, 468, 1188, 315, 304, 3011, 585, 6, 365, 18, 18672, 33, 2890, 18, 18672, 15, 21, 468, 1188, ...
if not conf.Check_wx_config([2,6,2], env['ARGS']['with-wx-config']): print 'wxWidgets >= 2.6.2 is required.'
if not conf.Check_wx_config([2,6,1], env['ARGS']['with-wx-config']): print 'wxWidgets >= 2.6.1 is required.'
def Check_wx_config(context, version, wx_config_command = "wx-config"): context.Message('Checking for %s ... ' % wx_config_command) if os.environ.has_key("WX_CONFIG_PATH"): wx_config_command = "WX_CONFIG_PATH=" + os.environ["WX_CONFIG_PATH"] + " " + wx_config_command ret = os.popen(wx_config_command + ' --version').rea...
092a4a201d07f37b2b5c998452e589552579fa16 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2410/092a4a201d07f37b2b5c998452e589552579fa16/wx.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2073, 67, 27226, 67, 1425, 12, 2472, 16, 1177, 16, 7075, 67, 1425, 67, 3076, 273, 315, 27226, 17, 1425, 6, 4672, 819, 18, 1079, 2668, 14294, 364, 738, 87, 1372, 296, 738, 7075, 67, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2073, 67, 27226, 67, 1425, 12, 2472, 16, 1177, 16, 7075, 67, 1425, 67, 3076, 273, 315, 27226, 17, 1425, 6, 4672, 819, 18, 1079, 2668, 14294, 364, 738, 87, 1372, 296, 738, 7075, 67, 1...
context.node, context.position, context.size, context.template = state
(context.node, context.position, context.size, context.template, context.current_node) = saved
def instantiate(self, context): if self._select: context.instruction = self context.namespaces = self.namespaces try: nodes = self._select.evaluate_as_nodeset(context) except TypeError: raise raise XsltError(XsltError.INVALID_FOREACH_NODESET) else: nodes = context.node.xml_children
0a30890db765ba831bac1ad2e2921b357dfebf77 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/14078/0a30890db765ba831bac1ad2e2921b357dfebf77/for_each_element.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 10275, 12, 2890, 16, 819, 4672, 309, 365, 6315, 4025, 30, 819, 18, 19116, 273, 365, 819, 18, 16078, 273, 365, 18, 16078, 775, 30, 2199, 273, 365, 6315, 4025, 18, 21024, 67, 345, 67, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 10275, 12, 2890, 16, 819, 4672, 309, 365, 6315, 4025, 30, 819, 18, 19116, 273, 365, 819, 18, 16078, 273, 365, 18, 16078, 775, 30, 2199, 273, 365, 6315, 4025, 18, 21024, 67, 345, 67, ...
def _dom_node(self, dom): return dom.Text(self.data) def _rooted_dom_node(self, domroot):
def _dom_node(self, domroot):
def _dom_node(self, dom): return dom.Text(self.data)
4965da4742f1b663cade3631c67c83fc31d4520c /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8194/4965da4742f1b663cade3631c67c83fc31d4520c/nodes.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 9859, 67, 2159, 12, 2890, 16, 4092, 4672, 327, 4092, 18, 1528, 12, 2890, 18, 892, 13, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 9859, 67, 2159, 12, 2890, 16, 4092, 4672, 327, 4092, 18, 1528, 12, 2890, 18, 892, 13, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
self.get(force=True, get_redirect=True, throttle=False)
try: self.get(force=True, get_redirect=True, throttle=False) except NoPage: output(u'Page %s is moved and no longer exist.') delattr(self, '_contents')
def move(self, newtitle, reason=None, movetalkpage=True, movesubpages=False, sysop=False, throttle=True, deleteAndMove=False, safe=True, fixredirects=True, leaveRedirect=True): """Move this page to new title given by newtitle. If safe, don't try to move and delete if not directly requested.
a589302f3796bb6cd5e8e918dfe938d6f28d338d /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/4404/a589302f3796bb6cd5e8e918dfe938d6f28d338d/wikipedia.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3635, 12, 2890, 16, 394, 2649, 16, 3971, 33, 7036, 16, 5730, 278, 2960, 2433, 33, 5510, 16, 13934, 373, 7267, 33, 8381, 16, 2589, 556, 33, 8381, 16, 18304, 33, 5510, 16, 1430, 1876, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3635, 12, 2890, 16, 394, 2649, 16, 3971, 33, 7036, 16, 5730, 278, 2960, 2433, 33, 5510, 16, 13934, 373, 7267, 33, 8381, 16, 2589, 556, 33, 8381, 16, 18304, 33, 5510, 16, 1430, 1876, ...
result = True
result = True
def validate_required(self, instance, value, errors): try: int(value) except (ValueError, TypeError): result = False else: result = True return ObjectField.validate_required(self, instance, result, errors)
ce18ea6851443c561d3f359843304d34e49b66e9 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12165/ce18ea6851443c561d3f359843304d34e49b66e9/Field.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1954, 67, 4718, 12, 2890, 16, 791, 16, 460, 16, 1334, 4672, 775, 30, 509, 12, 1132, 13, 1335, 261, 23610, 16, 3580, 4672, 563, 273, 1083, 469, 30, 563, 273, 1053, 327, 1033, 974, 18,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1954, 67, 4718, 12, 2890, 16, 791, 16, 460, 16, 1334, 4672, 775, 30, 509, 12, 1132, 13, 1335, 261, 23610, 16, 3580, 4672, 563, 273, 1083, 469, 30, 563, 273, 1053, 327, 1033, 974, 18,...
7/2 1/2 3 4/3 2.82842712475 1
(7/2) (1/2) 3 (4/3) 2.82842712475 1
def test(): '''\ Test function for rat module. The expected output is (module some differences in floating precission): -1 -1 0 0L 0.1 (0.1+0j) [Rat(1,2), Rat(-3,10), Rat(1,25), Rat(1,4)] [Rat(-3,10), Rat(1,25), Rat(1,4), Rat(1,2)] 0 11/10 11/10 1.1 OK 2 1.5 3/2 (1.5+1.5j) 15707963/5000000 2 2 2.0 (2+0j) 4 0 4 1 4 0 ...
71d3aa186579a353a324f0dac9b41910b16f0d16 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12029/71d3aa186579a353a324f0dac9b41910b16f0d16/Rat.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 13332, 875, 8314, 7766, 445, 364, 15183, 1605, 18, 225, 1021, 2665, 876, 353, 261, 2978, 2690, 16440, 316, 13861, 13382, 19710, 4672, 300, 21, 300, 21, 374, 374, 48, 374, 18, 21, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 13332, 875, 8314, 7766, 445, 364, 15183, 1605, 18, 225, 1021, 2665, 876, 353, 261, 2978, 2690, 16440, 316, 13861, 13382, 19710, 4672, 300, 21, 300, 21, 374, 374, 48, 374, 18, 21, ...
console.endln()
console.endln()
def LoadStructure(struct_source): """Loads Structure, chooses a unique struct_id string. Also, search the REMARK records for TLS group records. If they are found, then add the TLS group ADP magnitude to the B facors of the ATOM records. """ console.debug_stdoutln(">tlsmd_analysis.py->LoadStructure()") ## determine the...
0e4b9c2feff511845b8e9a45c2ea172793555305 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/10674/0e4b9c2feff511845b8e9a45c2ea172793555305/tlsmd_analysis.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4444, 6999, 12, 1697, 67, 3168, 4672, 3536, 7968, 13348, 16, 24784, 281, 279, 3089, 1958, 67, 350, 533, 18, 8080, 16, 1623, 326, 2438, 12693, 3853, 364, 8098, 1041, 3853, 18, 971, 2898, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4444, 6999, 12, 1697, 67, 3168, 4672, 3536, 7968, 13348, 16, 24784, 281, 279, 3089, 1958, 67, 350, 533, 18, 8080, 16, 1623, 326, 2438, 12693, 3853, 364, 8098, 1041, 3853, 18, 971, 2898, ...
min=1, max=100, callback=self.update, callbackOnReturn=True)
min=1, max=100 if not orngDebugging.orngDebuggingEnabled else 5, callback=self.update, callbackOnReturn=True)
def __init__(self, parent=None, signalManager = None): OWWidget.__init__(self, parent, signalManager, 'k-Means Clustering')
e2754f0b1e569edcc7299059f779a11b5924d920 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/6366/e2754f0b1e569edcc7299059f779a11b5924d920/OWKMeans.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 982, 33, 7036, 16, 4277, 1318, 273, 599, 4672, 18233, 4609, 16186, 2738, 972, 12, 2890, 16, 982, 16, 4277, 1318, 16, 296, 79, 17, 4667, 634, 29103, 6134,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 982, 33, 7036, 16, 4277, 1318, 273, 599, 4672, 18233, 4609, 16186, 2738, 972, 12, 2890, 16, 982, 16, 4277, 1318, 16, 296, 79, 17, 4667, 634, 29103, 6134,...
args = ex.args()
args = ex.operands()
def derivative(self, ex, operator): """ EXAMPLES::
7612ee2120a60eefd18f1ae87983f5942390076d /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/9890/7612ee2120a60eefd18f1ae87983f5942390076d/expression_conversions.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 16417, 12, 2890, 16, 431, 16, 3726, 4672, 3536, 5675, 8900, 11386, 2866, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 16417, 12, 2890, 16, 431, 16, 3726, 4672, 3536, 5675, 8900, 11386, 2866, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
bodydata += struct.pack("=fff", face.normal[1], -face.normal[2], face.normal[0])
bodydata += struct.pack("=fff", face.normal[1], -face.normal[2], -face.normal[0])
def mapvertex(index, u, v): for mv in xrange(0, len(vertexmap)): if vertexmap[mv] == index and uvs[mv] == (u, v): return mv vertexmap.append(index) uvs.append( (u, v) ) return len(vertexmap)-1
6bb5b38fe37f3944e19d87f90e8fb45f626fc3e5 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2372/6bb5b38fe37f3944e19d87f90e8fb45f626fc3e5/windstille_export.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 852, 15281, 12, 1615, 16, 582, 16, 331, 4672, 364, 7701, 316, 12314, 12, 20, 16, 562, 12, 15281, 1458, 3719, 30, 309, 5253, 1458, 63, 17509, 65, 422, 770, 471, 582, 6904, 63, 17509, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 852, 15281, 12, 1615, 16, 582, 16, 331, 4672, 364, 7701, 316, 12314, 12, 20, 16, 562, 12, 15281, 1458, 3719, 30, 309, 5253, 1458, 63, 17509, 65, 422, 770, 471, 582, 6904, 63, 17509, ...
v['pricelist_id']=shop.pricelist_id.id
v['pricelist_id'] = shop.pricelist_id.id
def onchange_shop_id(self, cr, uid, ids, shop_id): v={} if shop_id: shop=self.pool.get('sale.shop').browse(cr,uid,shop_id) v['project_id']=shop.project_id.id # Que faire si le client a une pricelist a lui ? if shop.pricelist_id.id: v['pricelist_id']=shop.pricelist_id.id #v['payment_default_id']=shop.payment_default_id....
fa29dc7d9e6d87f49bc3316e2b56fa977448ad6c /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/7397/fa29dc7d9e6d87f49bc3316e2b56fa977448ad6c/sale.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 603, 3427, 67, 5020, 67, 350, 12, 2890, 16, 4422, 16, 4555, 16, 3258, 16, 12122, 67, 350, 4672, 331, 12938, 309, 12122, 67, 350, 30, 12122, 33, 2890, 18, 6011, 18, 588, 2668, 87, 534...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 603, 3427, 67, 5020, 67, 350, 12, 2890, 16, 4422, 16, 4555, 16, 3258, 16, 12122, 67, 350, 4672, 331, 12938, 309, 12122, 67, 350, 30, 12122, 33, 2890, 18, 6011, 18, 588, 2668, 87, 534...
('L,TimeDateStamp', 'H,OffsetModuleName', 'H,Reserved') )
('I,TimeDateStamp', 'H,OffsetModuleName', 'H,Reserved') )
def __init__(self, **args): for key, value in args.items(): setattr(self, key, value)
d0ca75794f69f1d09fd6d31d40ba2f1e9b3b7fb4 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/213/d0ca75794f69f1d09fd6d31d40ba2f1e9b3b7fb4/pefile.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 2826, 1968, 4672, 364, 498, 16, 460, 316, 833, 18, 3319, 13332, 9241, 12, 2890, 16, 498, 16, 460, 13, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 2826, 1968, 4672, 364, 498, 16, 460, 316, 833, 18, 3319, 13332, 9241, 12, 2890, 16, 498, 16, 460, 13, 2, -100, -100, -100, -100, -100, -100, -100, -100, ...
return self.is_unary_predicate(cond) and self.has_same_features(cond) and cond.argument.__class__ is DrtIndividualVariableExpression
return is_unary_predicate(cond) and self.has_same_features(cond) and cond.argument.__class__ is DrtIndividualVariableExpression
def is_possible_binding(self, cond): return self.is_unary_predicate(cond) and self.has_same_features(cond) and cond.argument.__class__ is DrtIndividualVariableExpression
dca74bcb89c3d17fa21605cefb94a3107a4c1fbb /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/2768/dca74bcb89c3d17fa21605cefb94a3107a4c1fbb/temporaldrt.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 353, 67, 12708, 67, 7374, 12, 2890, 16, 6941, 4672, 327, 353, 67, 318, 814, 67, 18344, 12, 10013, 13, 471, 365, 18, 5332, 67, 14307, 67, 7139, 12, 10013, 13, 471, 6941, 18, 3446, 161...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 353, 67, 12708, 67, 7374, 12, 2890, 16, 6941, 4672, 327, 353, 67, 318, 814, 67, 18344, 12, 10013, 13, 471, 365, 18, 5332, 67, 14307, 67, 7139, 12, 10013, 13, 471, 6941, 18, 3446, 161...
self.c.closeCursor(_self.cursor)
c.closeCursor(_self.cursor)
def __del__(_self):
739ab39786e9e134ce23dc9615e472678f4ebc01 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/9228/739ab39786e9e134ce23dc9615e472678f4ebc01/DBContainer.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 3771, 972, 24899, 2890, 4672, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 3771, 972, 24899, 2890, 4672, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
table = omero.tables.TableI(self.ctx, omero.model.OriginalFileI(1,None), storage)
table = omero.tables.TableI(self.ctx, omero.model.OriginalFileI(1,None), None, storage)
def testTableIncrDecr(self): storage = mock_storage() table = omero.tables.TableI(self.ctx, omero.model.OriginalFileI(1,None), storage) self.assertTrue(storage.up) table.cleanup() self.assertTrue(storage.down)
a7bf44d8e2cbb411e37c19eab6872649a38acbeb /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12409/a7bf44d8e2cbb411e37c19eab6872649a38acbeb/servants.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 1388, 382, 3353, 1799, 86, 12, 2890, 4672, 2502, 273, 5416, 67, 5697, 1435, 1014, 273, 8068, 2439, 18, 9373, 18, 1388, 45, 12, 2890, 18, 5900, 16, 8068, 2439, 18, 2284, 18, 8176,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 1388, 382, 3353, 1799, 86, 12, 2890, 4672, 2502, 273, 5416, 67, 5697, 1435, 1014, 273, 8068, 2439, 18, 9373, 18, 1388, 45, 12, 2890, 18, 5900, 16, 8068, 2439, 18, 2284, 18, 8176,...
self.influence = None
self.influence = 0
def __init__(self, activationValue=0, age=0): self.oldActivationValue = None self.activationValue = activationValue self.age = age self.influence = None
4c5558d41c268af2aed5dd7e820d0a0a2f432dfd /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/13131/4c5558d41c268af2aed5dd7e820d0a0a2f432dfd/ConceptNetwork.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 10027, 620, 33, 20, 16, 9388, 33, 20, 4672, 365, 18, 1673, 14857, 620, 273, 599, 365, 18, 16908, 620, 565, 273, 10027, 620, 365, 18, 410, 7734, 273, 93...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 10027, 620, 33, 20, 16, 9388, 33, 20, 4672, 365, 18, 1673, 14857, 620, 273, 599, 365, 18, 16908, 620, 565, 273, 10027, 620, 365, 18, 410, 7734, 273, 93...
self._out.write('<?xml version="1.0" encoding="iso-8859-1"?>\n')
self._out.write('<?xml version="1.0" encoding="%s"?>\n' % self._encoding)
def startDocument(self): self._out.write('<?xml version="1.0" encoding="iso-8859-1"?>\n')
55629583bcc04a7a80933907be9b667ff659bdcf /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12029/55629583bcc04a7a80933907be9b667ff659bdcf/saxutils.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 787, 2519, 12, 2890, 4672, 365, 6315, 659, 18, 2626, 2668, 12880, 2902, 1177, 1546, 21, 18, 20, 6, 2688, 1546, 9699, 17, 17258, 17, 21, 6, 35, 5333, 82, 6134, 2, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 787, 2519, 12, 2890, 4672, 365, 6315, 659, 18, 2626, 2668, 12880, 2902, 1177, 1546, 21, 18, 20, 6, 2688, 1546, 9699, 17, 17258, 17, 21, 6, 35, 5333, 82, 6134, 2, -100, -100, -100, -1...
w("\t\t\t%s,\n" % self.buildSettingsId[1][0])
for name, setting in self.buildSettingsId[1]: w("\t\t\t%s,\n" % setting)
def writeXCConfigurationList(self): w = self.file.write w("/* Begin XCConfigurationList section */\n") w("\t%s = {\n" % self.buildSettingsId[0]) w("\t\tisa = XCConfigurationList;\n") w("\t\tbuildConfigurations = (\n") w("\t\t\t%s,\n" % self.buildSettingsId[1][0]) w("\t\t);\n") w("\t\tdefaultConfigurationIsVisible = 0;\...
d8a499abbdb5c22299bf584761258f470cf7eaec /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/7302/d8a499abbdb5c22299bf584761258f470cf7eaec/xcode.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1045, 60, 39, 1750, 682, 12, 2890, 4672, 341, 273, 365, 18, 768, 18, 2626, 341, 2932, 20308, 14323, 1139, 39, 1750, 682, 2442, 1195, 64, 82, 7923, 341, 31458, 88, 9, 87, 273, 18890, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1045, 60, 39, 1750, 682, 12, 2890, 4672, 341, 273, 365, 18, 768, 18, 2626, 341, 2932, 20308, 14323, 1139, 39, 1750, 682, 2442, 1195, 64, 82, 7923, 341, 31458, 88, 9, 87, 273, 18890, ...
ATFileSchema = ATContentTypeSchema + Schema((
ATFileSchema = ATContentTypeSchema.copy() + Schema((
def __init__(self, prefix='', archive=False): pass
f98eabe813032df83369483850534aca1fdfcb3b /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/11956/f98eabe813032df83369483850534aca1fdfcb3b/schemata.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 1633, 2218, 2187, 5052, 33, 8381, 4672, 1342, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 1633, 2218, 2187, 5052, 33, 8381, 4672, 1342, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
prefix = '&nbsp;&nbsp;' style = 'same' lines = a[i1:i2] elif tag == 'replace' or tag == 'delete': prefix = '-&nbsp;' style = 'removed' lines = a[i1:i2] elif tag == 'replace' or tag == 'insert': prefix = '+&nbsp;' style = 'added' lines = b[j1:j2] else: assert 0 for line in lines: chunk.append({ 'prefix': prefix, 'te...
self._append_diff_lines(chunk, '&nbsp;&nbsp;', 'same', a[i1:i2]) if tag == 'replace' or tag == 'delete': self._append_diff_lines(chunk, '-&nbsp;', 'removed', a[i1:i2]) if tag == 'replace' or tag == 'insert': self._append_diff_lines(chunk, '+&nbsp;', 'added', b[j1:j2])
def get_diff(self, context=3): """Compute a diff between old and new values, and return a sequence of dictionaries with 'text' and 'style' keys. """ a = (self.old_value or '').rstrip().split("\n") b = (self.new_value or '').rstrip().split("\n")
1f31b163bf5198aea957e226fa4eb0997faa0e9b /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/9478/1f31b163bf5198aea957e226fa4eb0997faa0e9b/models.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 67, 5413, 12, 2890, 16, 819, 33, 23, 4672, 3536, 7018, 279, 3122, 3086, 1592, 471, 394, 924, 16, 471, 327, 279, 3102, 434, 16176, 598, 296, 955, 11, 471, 296, 4060, 11, 1311, 18...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 67, 5413, 12, 2890, 16, 819, 33, 23, 4672, 3536, 7018, 279, 3122, 3086, 1592, 471, 394, 924, 16, 471, 327, 279, 3102, 434, 16176, 598, 296, 955, 11, 471, 296, 4060, 11, 1311, 18...
if getattr(self, 'ticket', False): extraHeaders = { 'Ticket' : self.ticket } else: extraHeaders = None
def _putItem(self, item): """ putItem should publish an item and return etag/date, etc. """
9407bec8d667ad0d61415abd978106b23f8daadc /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9228/9407bec8d667ad0d61415abd978106b23f8daadc/Sharing.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 458, 1180, 12, 2890, 16, 761, 4672, 3536, 1378, 1180, 1410, 3808, 392, 761, 471, 327, 13655, 19, 712, 16, 5527, 18, 3536, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 458, 1180, 12, 2890, 16, 761, 4672, 3536, 1378, 1180, 1410, 3808, 392, 761, 471, 327, 13655, 19, 712, 16, 5527, 18, 3536, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
if is_current_branch(doomed_name) and doomed_name != 'master': git.switch_branch('master')
print 'Deleting branch "%s"...' % doomed_name, sys.stdout.flush() if __is_current_branch(doomed_name): check_local_changes() check_conflicts() check_head_top_equal() if doomed_name != 'master': git.switch_branch('master')
def delete_branch(doomed_name, force = False): doomed = stack.Series(doomed_name) if doomed.get_protected(): raise CmdException, 'This branch is protected. Delete is not permitted' if is_current_branch(doomed_name) and doomed_name != 'master': git.switch_branch('master') doomed.delete(force) if doomed_name != 'mast...
fe4f6d5812d62c1d6a5e0aa7536bad2e8a3beb6b /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12366/fe4f6d5812d62c1d6a5e0aa7536bad2e8a3beb6b/branch.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1430, 67, 7500, 12, 2896, 362, 329, 67, 529, 16, 2944, 273, 1083, 4672, 741, 362, 329, 273, 2110, 18, 6485, 12, 2896, 362, 329, 67, 529, 13, 225, 309, 741, 362, 329, 18, 588, 67, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1430, 67, 7500, 12, 2896, 362, 329, 67, 529, 16, 2944, 273, 1083, 4672, 741, 362, 329, 273, 2110, 18, 6485, 12, 2896, 362, 329, 67, 529, 13, 225, 309, 741, 362, 329, 18, 588, 67, 1...
self.satEntry = getConfigListEntry(_('Satellite'), config.tuning.sat)
self.satEntry = getConfigListEntry(_('Satellite'), self.tuning.sat)
def createSetup(self): self.typeOfTuningEntry = None self.satEntry = None
51b1571e9e31d9f7ab1055f562a397a9bfa427ab /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/6652/51b1571e9e31d9f7ab1055f562a397a9bfa427ab/plugin.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 752, 7365, 12, 2890, 4672, 365, 18, 723, 951, 22313, 1622, 273, 599, 365, 18, 12973, 1622, 273, 599, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 752, 7365, 12, 2890, 4672, 365, 18, 723, 951, 22313, 1622, 273, 599, 365, 18, 12973, 1622, 273, 599, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
""" clip the area where to draw. Just pass None (default) to reset the clip
"""clip the area where to draw; pass None (default) to reset the clip
def set_clip(self, screen_rect=None): """ clip the area where to draw. Just pass None (default) to reset the clip LayeredDirty.set_clip(screen_rect=None): return None """ if screen_rect is None: self._clip = pygame.display.get_surface().get_rect() else: self._clip = screen_rect self._use_update = False
d9760f3e4782abb02dd98080337626eefdad67ee /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/1298/d9760f3e4782abb02dd98080337626eefdad67ee/sprite.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 444, 67, 14161, 12, 2890, 16, 5518, 67, 2607, 33, 7036, 4672, 3536, 14161, 326, 5091, 1625, 358, 3724, 31, 1342, 599, 261, 1886, 13, 358, 2715, 326, 6807, 225, 12112, 329, 10785, 18, 5...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 444, 67, 14161, 12, 2890, 16, 5518, 67, 2607, 33, 7036, 4672, 3536, 14161, 326, 5091, 1625, 358, 3724, 31, 1342, 599, 261, 1886, 13, 358, 2715, 326, 6807, 225, 12112, 329, 10785, 18, 5...
raise KeyError, "filename %r not found" % name
raise KeyError("filename %r not found" % name)
def getmember(self, name): """Return a TarInfo object for member `name'. If `name' can not be found in the archive, KeyError is raised. If a member occurs more than once in the archive, its last occurence is assumed to be the most up-to-date version. """ tarinfo = self._getmember(name) if tarinfo is None: raise KeyErro...
9d576e732e0c14bd37ecb65d8001d6f596cc8566 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3187/9d576e732e0c14bd37ecb65d8001d6f596cc8566/tarfile.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 5990, 12, 2890, 16, 508, 4672, 3536, 990, 279, 20334, 966, 733, 364, 3140, 1375, 529, 10332, 971, 1375, 529, 11, 848, 486, 506, 1392, 316, 326, 5052, 16, 4999, 353, 11531, 18, 971...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 5990, 12, 2890, 16, 508, 4672, 3536, 990, 279, 20334, 966, 733, 364, 3140, 1375, 529, 10332, 971, 1375, 529, 11, 848, 486, 506, 1392, 316, 326, 5052, 16, 4999, 353, 11531, 18, 971...
<?php echo date("m.d.y"); ?>
<?php echo date("m.d.y"); ?>
def makePage( _T, _N, _M, MIRRORS_DATA, lang, charset ): navigation = Tree \ ( [ P ( contents = [ Img( src = '%(ROOT)simages/pointer.png' ), A( _N['home'], href=makeURL( '.', lang ))] ), Tree \ ( [ P ( contents = [ Img( src = '%(ROOT)simages/englishlogo.png', width = 16, height = 10), A( 'English', href='%(BASE)s.' )])...
6f57d571cb5a191a538d1b271f46a3e100233a4d /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/4747/6f57d571cb5a191a538d1b271f46a3e100233a4d/page.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1221, 1964, 12, 389, 56, 16, 389, 50, 16, 389, 49, 16, 490, 7937, 2784, 55, 67, 4883, 16, 3303, 16, 4856, 262, 30, 10394, 273, 4902, 521, 261, 306, 453, 261, 2939, 273, 306, 2221, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1221, 1964, 12, 389, 56, 16, 389, 50, 16, 389, 49, 16, 490, 7937, 2784, 55, 67, 4883, 16, 3303, 16, 4856, 262, 30, 10394, 273, 4902, 521, 261, 306, 453, 261, 2939, 273, 306, 2221, ...
pass
pass
def replace(s, old, new, maxsplit=0): """replace (str, old, new[, maxsplit]) -> string Return a copy of string str with all occurrences of substring old replaced by new. If the optional argument maxsplit is given, only the first maxsplit occurrences are replaced. """ return s.replace(old, new, maxsplit)
857c4c36b962c6e74559e045c7fb43177dd5bcea /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8546/857c4c36b962c6e74559e045c7fb43177dd5bcea/string.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1453, 12, 87, 16, 1592, 16, 394, 16, 943, 4939, 33, 20, 4672, 3536, 2079, 261, 701, 16, 1592, 16, 394, 63, 16, 943, 4939, 5717, 317, 533, 225, 2000, 279, 1610, 434, 533, 609, 598, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1453, 12, 87, 16, 1592, 16, 394, 16, 943, 4939, 33, 20, 4672, 3536, 2079, 261, 701, 16, 1592, 16, 394, 63, 16, 943, 4939, 5717, 317, 533, 225, 2000, 279, 1610, 434, 533, 609, 598, ...
if None and not os.path.isfile(fname):
if not os.path.isfile(fname):
def extractSrpm(pkg, pkgdir, filecache, repodir, oldpkg): pkgname = pkg["name"] files = pkg.getFilenames() i = pkg.getSpecfile(files) specfile = files[i] changelogtime = None if oldpkg and oldpkg["changelogtime"]: changelogtime = oldpkg["changelogtime"][0] if os.path.exists("%s/%s" % (pkgdir, specfile)): checksum = ge...
427871e48b993cbe1bec0e26f0693386c8014c95 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/1143/427871e48b993cbe1bec0e26f0693386c8014c95/oldpyrpm.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2608, 55, 86, 7755, 12, 10657, 16, 3475, 1214, 16, 585, 2493, 16, 2071, 369, 481, 16, 1592, 10657, 4672, 29348, 273, 3475, 9614, 529, 11929, 1390, 273, 3475, 18, 588, 25579, 6809, 1435, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2608, 55, 86, 7755, 12, 10657, 16, 3475, 1214, 16, 585, 2493, 16, 2071, 369, 481, 16, 1592, 10657, 4672, 29348, 273, 3475, 9614, 529, 11929, 1390, 273, 3475, 18, 588, 25579, 6809, 1435, ...
width: %d
width: %dpx;
def render_current_time(): import time html.write("<div class=time>%s</div>" % time.strftime("%H:%M"))
425dd5d0916c74c41cf0813334848e9b07b233ef /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/5589/425dd5d0916c74c41cf0813334848e9b07b233ef/shipped.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1743, 67, 2972, 67, 957, 13332, 1930, 813, 1729, 18, 2626, 2932, 32, 2892, 667, 33, 957, 9822, 87, 1757, 2892, 2984, 738, 813, 18, 701, 9982, 27188, 44, 5319, 49, 6, 3719, 225, 2, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1743, 67, 2972, 67, 957, 13332, 1930, 813, 1729, 18, 2626, 2932, 32, 2892, 667, 33, 957, 9822, 87, 1757, 2892, 2984, 738, 813, 18, 701, 9982, 27188, 44, 5319, 49, 6, 3719, 225, 2, -1...
self.body.append(self.starttag(node, 'a', '[', href=href, CLASS='citation-reference'))
self.body.append(self.starttag(node, 'a', '[', CLASS='citation-reference', **(href and {'href': href} or {})))
def visit_citation_reference(self, node): href = '' if node.has_key('refid'): href = '#' + node['refid'] elif node.has_key('refname'): href = '#' + self.document.nameids[node['refname']] self.body.append(self.starttag(node, 'a', '[', href=href, CLASS='citation-reference'))
d51d92c3a95b64bd15b83735092b5939a8e1814a /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/1278/d51d92c3a95b64bd15b83735092b5939a8e1814a/html4css1.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3757, 67, 71, 8773, 67, 6180, 12, 2890, 16, 756, 4672, 3897, 273, 875, 309, 756, 18, 5332, 67, 856, 2668, 1734, 350, 11, 4672, 3897, 273, 6501, 397, 756, 3292, 1734, 350, 3546, 1327, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3757, 67, 71, 8773, 67, 6180, 12, 2890, 16, 756, 4672, 3897, 273, 875, 309, 756, 18, 5332, 67, 856, 2668, 1734, 350, 11, 4672, 3897, 273, 6501, 397, 756, 3292, 1734, 350, 3546, 1327, ...
else: mname = self.module()._obj.__name__
elif self.module() is not None: mname = self.module()._obj.__name__ else: self._pkg = None return None
def package(self): if not hasattr(self, '_pkg'): # Find the module. if type(self._obj) is _ModuleType: mname = self._obj.__name__ else: mname = self.module()._obj.__name__
856b154cf7407c5d9a69312fe04a968af9fae0f1 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/11420/856b154cf7407c5d9a69312fe04a968af9fae0f1/uid.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2181, 12, 2890, 4672, 309, 486, 3859, 12, 2890, 16, 2070, 10657, 11, 4672, 468, 4163, 326, 1605, 18, 309, 618, 12, 2890, 6315, 2603, 13, 353, 389, 3120, 559, 30, 312, 529, 273, 365, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2181, 12, 2890, 4672, 309, 486, 3859, 12, 2890, 16, 2070, 10657, 11, 4672, 468, 4163, 326, 1605, 18, 309, 618, 12, 2890, 6315, 2603, 13, 353, 389, 3120, 559, 30, 312, 529, 273, 365, ...
self.uri,self.sound,self.phonetic=[None]*3
def __init__(self,name,value,rfc2425parameters=None): """Initialize a `VCardSound` object.
6560fbcf4900a7ede466b0f07b37831cc5b55f83 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/12769/6560fbcf4900a7ede466b0f07b37831cc5b55f83/vcard.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 529, 16, 1132, 16, 16784, 3247, 2947, 3977, 33, 7036, 4672, 3536, 7520, 279, 1375, 58, 6415, 24331, 68, 733, 18, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 529, 16, 1132, 16, 16784, 3247, 2947, 3977, 33, 7036, 4672, 3536, 7520, 279, 1375, 58, 6415, 24331, 68, 733, 18, 2, -100, -100, -100, -100, -100, -100, -...
document = desktop.loadComponentFromURL(tempFile, "_blank", 0,
document = desktop.loadComponentFromURL(tempURL, "_blank", 0,
def convertClipboard(self): #copy/paste from above self._readconfig() logging.debug("call to convertClipboard") desktop = self._context.ServiceManager.createInstanceWithContext( "com.sun.star.frame.Desktop", self._context) clipboard = self._context.ServiceManager.createInstanceWithContext( "com.sun.star.datatransfer.cl...
f1564a66ced8b4798df75c8535547dad93712567 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/12151/f1564a66ced8b4798df75c8535547dad93712567/extension_object.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1765, 15339, 3752, 12, 2890, 4672, 468, 3530, 19, 29795, 628, 5721, 365, 6315, 896, 1425, 1435, 2907, 18, 4148, 2932, 1991, 358, 1765, 15339, 3752, 7923, 21304, 273, 365, 6315, 2472, 18, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1765, 15339, 3752, 12, 2890, 4672, 468, 3530, 19, 29795, 628, 5721, 365, 6315, 896, 1425, 1435, 2907, 18, 4148, 2932, 1991, 358, 1765, 15339, 3752, 7923, 21304, 273, 365, 6315, 2472, 18, ...
self.data.organism = self.data.organism + line[5:]
self.data.organism += line[5:]
def organism_species(self, line): self.data.organism = self.data.organism + line[5:]
1a15e85e88e4981766443c53977e691256208447 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/7167/1a15e85e88e4981766443c53977e691256208447/SProt.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 15501, 6228, 67, 22657, 12, 2890, 16, 980, 4672, 365, 18, 892, 18, 22543, 6228, 1011, 980, 63, 25, 26894, 225, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 15501, 6228, 67, 22657, 12, 2890, 16, 980, 4672, 365, 18, 892, 18, 22543, 6228, 1011, 980, 63, 25, 26894, 225, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
alpha = range(len(partition))
alpha = [] for i in xrange(len(partition)): alpha.append(sum([len(cell) for cell in partition[:i]]))
def coarsest_equitable_refinement(self, partition, sparse=False): """ Returns the coarsest partition which is finer than the input partition, and equitable with respect to self.
cf36b966d84c2061675286e884888154987dabbc /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9417/cf36b966d84c2061675286e884888154987dabbc/graph.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1825, 5913, 395, 67, 14298, 9085, 67, 266, 926, 820, 12, 2890, 16, 3590, 16, 9387, 33, 8381, 4672, 3536, 2860, 326, 1825, 5913, 395, 3590, 1492, 353, 574, 264, 2353, 326, 810, 3590, 16...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1825, 5913, 395, 67, 14298, 9085, 67, 266, 926, 820, 12, 2890, 16, 3590, 16, 9387, 33, 8381, 4672, 3536, 2860, 326, 1825, 5913, 395, 3590, 1492, 353, 574, 264, 2353, 326, 810, 3590, 16...
"""this function suffers from horrible polymorphism sometimes we get a Document, sometimes a plain dict """ if isinstance(document, dict): return document['document_id'] in self.documents_ids return document.document_id in self.documents_ids
return document['document_id'] in self.documents_ids
def isKnown(self, document): """this function suffers from horrible polymorphism sometimes we get a Document, sometimes a plain dict """ if isinstance(document, dict): return document['document_id'] in self.documents_ids return document.document_id in self.documents_ids
9b42b264624664d39b69c97853926dcdc1d5c3d7 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2259/9b42b264624664d39b69c97853926dcdc1d5c3d7/p2pquerier.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 353, 11925, 12, 2890, 16, 1668, 4672, 3536, 2211, 445, 272, 3809, 414, 628, 29404, 86, 1523, 2952, 2942, 7657, 6228, 16594, 732, 336, 279, 4319, 16, 16594, 279, 7351, 2065, 3536, 309, 15...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 353, 11925, 12, 2890, 16, 1668, 4672, 3536, 2211, 445, 272, 3809, 414, 628, 29404, 86, 1523, 2952, 2942, 7657, 6228, 16594, 732, 336, 279, 4319, 16, 16594, 279, 7351, 2065, 3536, 309, 15...
if self.info.export_values or unnamed_enum: code += in_indent + '.export_values()\n' code += indent + ';\n\n' codeunit.Write('module', code) exported_names[self.enum.FullName()] = 1 def ExportUniqueInt(self, codeunit): write = lambda s: codeunit.Write('declaration', s) write('// Unique type for unnamed enums\n') writ...
else: code += indent + namespaces.python code += 'scope().attr("%s") = (int)%s;\n' % (rename, value_fullname ) if self.info.export_values and not unnamed_enum: code += in_indent + '.export_values()\n' if not unnamed_enum: code += indent + ';\n' code += '\n' codeunit.Write('module', code) exported_names[self.enum.FullNa...
def Export(self, codeunit, exported_names): if not self.info.exclude: indent = self.INDENT in_indent = self.INDENT*2 rename = self.info.rename or self.enum.name full_name = self.enum.FullName() unnamed_enum = False if rename.startswith('$_') or rename.startswith('._'): unique_number = hash(self.info.include) unnamed_en...
b58812e7f15aaf3ac6a4cfd5c906e23adf8ee1cd /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9978/b58812e7f15aaf3ac6a4cfd5c906e23adf8ee1cd/EnumExporter.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 11054, 12, 2890, 16, 981, 4873, 16, 11518, 67, 1973, 4672, 309, 486, 365, 18, 1376, 18, 10157, 30, 3504, 273, 365, 18, 2356, 2222, 316, 67, 9355, 273, 365, 18, 2356, 2222, 14, 22, 64...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 11054, 12, 2890, 16, 981, 4873, 16, 11518, 67, 1973, 4672, 309, 486, 365, 18, 1376, 18, 10157, 30, 3504, 273, 365, 18, 2356, 2222, 316, 67, 9355, 273, 365, 18, 2356, 2222, 14, 22, 64...
cfg.set(section_name, "smtp", account.defaultSMTPAccount.itsUUID)
cfg[section_name][u"smtp"] = account.defaultSMTPAccount.itsUUID
def save(rv, filename): """Save selected settings information, including all sharing accounts and shares (whether published or subscribed), to an INI file""" cfg = ConfigParser.ConfigParser() # Sharing accounts currentAccount = schema.ns("osaf.sharing", rv).currentWebDAVAccount.item section_prefix = "sharing_account"...
5fcc26e162e0c42f8a4ee0116787795eb4f10175 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9228/5fcc26e162e0c42f8a4ee0116787795eb4f10175/settings.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1923, 12, 4962, 16, 1544, 4672, 3536, 4755, 3170, 1947, 1779, 16, 6508, 777, 21001, 9484, 471, 24123, 261, 3350, 2437, 9487, 578, 16445, 3631, 358, 392, 2120, 45, 585, 8395, 225, 2776, 2...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1923, 12, 4962, 16, 1544, 4672, 3536, 4755, 3170, 1947, 1779, 16, 6508, 777, 21001, 9484, 471, 24123, 261, 3350, 2437, 9487, 578, 16445, 3631, 358, 392, 2120, 45, 585, 8395, 225, 2776, 2...
extract(vm, test_name + ".tar.bz2", "autotest/tests")
extract(vm, tarred_test_path, "/")
def extract(vm, remote_path, dest_dir="."): """ Extract a .tar.bz2 file on the guest.
9a0ed8a302f92cd95aef5e2febbdd589f45c65ce /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/10349/9a0ed8a302f92cd95aef5e2febbdd589f45c65ce/autotest.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2608, 12, 3489, 16, 2632, 67, 803, 16, 1570, 67, 1214, 1546, 1199, 4672, 3536, 8152, 279, 263, 11718, 18, 25292, 22, 585, 603, 326, 13051, 18, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2608, 12, 3489, 16, 2632, 67, 803, 16, 1570, 67, 1214, 1546, 1199, 4672, 3536, 8152, 279, 263, 11718, 18, 25292, 22, 585, 603, 326, 13051, 18, 2, -100, -100, -100, -100, -100, -100, -1...
print 'No input data 2'
def checkJob( self, job, classAdJob ): """This method controls the checking of the job. """ self.log.verbose( 'Job %s will be processed' % ( job ) )
9dbdd9496601b617ceebb4a55c4b79c8349ae738 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12864/9dbdd9496601b617ceebb4a55c4b79c8349ae738/JobSchedulingAgent.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 866, 2278, 12, 365, 16, 1719, 16, 667, 1871, 2278, 262, 30, 3536, 2503, 707, 11022, 326, 6728, 434, 326, 1719, 18, 3536, 365, 18, 1330, 18, 11369, 12, 296, 2278, 738, 87, 903, 506, 5...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 866, 2278, 12, 365, 16, 1719, 16, 667, 1871, 2278, 262, 30, 3536, 2503, 707, 11022, 326, 6728, 434, 326, 1719, 18, 3536, 365, 18, 1330, 18, 11369, 12, 296, 2278, 738, 87, 903, 506, 5...
print e
def recheckPluginsErrors(self, plugins, plugin_api): for plugin in plugins: if plugin['error']: error = False missing = [] missing_dbus = []
6ee3bd6ad88495bc7319b4d9345f2c1b25932dec /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/7036/6ee3bd6ad88495bc7319b4d9345f2c1b25932dec/engine.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 283, 1893, 9461, 4229, 12, 2890, 16, 4799, 16, 1909, 67, 2425, 4672, 364, 1909, 316, 4799, 30, 309, 1909, 3292, 1636, 3546, 30, 555, 273, 1083, 3315, 273, 5378, 3315, 67, 1966, 407, 27...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 283, 1893, 9461, 4229, 12, 2890, 16, 4799, 16, 1909, 67, 2425, 4672, 364, 1909, 316, 4799, 30, 309, 1909, 3292, 1636, 3546, 30, 555, 273, 1083, 3315, 273, 5378, 3315, 67, 1966, 407, 27...
self.fail('Expected DeprecationWarning, none given')
self.fail('Unexpected DeprecationWarning, ' 'no warnings expected here')
def testAllowed(self): """hasRole is an alias for allowed, which should be unaffected.""" try: self.userObject.allowed(None) except DeprecationWarning: self.fail('Expected DeprecationWarning, none given') else: pass
53a551bb08080f5e8e62bf8d5c4350cda63c1ae5 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9658/53a551bb08080f5e8e62bf8d5c4350cda63c1ae5/testDeprecatedAPI.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 5042, 12, 2890, 4672, 3536, 5332, 2996, 353, 392, 2308, 364, 2935, 16, 1492, 1410, 506, 640, 20119, 12123, 775, 30, 365, 18, 1355, 921, 18, 8151, 12, 7036, 13, 1335, 24041, 30, 3...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 5042, 12, 2890, 4672, 3536, 5332, 2996, 353, 392, 2308, 364, 2935, 16, 1492, 1410, 506, 640, 20119, 12123, 775, 30, 365, 18, 1355, 921, 18, 8151, 12, 7036, 13, 1335, 24041, 30, 3...
bestlist = self.bestPackagesFromList(satisfiers)
bestlist = self.bestPackagesFromList(satisfiers, arch=self.compatarch)
def _provideToPkg(self, req): #this is stolen from Anaconda bestlist = None (r, f, v) = req
8a7700a4a1a80df0b403c5ce61bdf34f20148056 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/8489/8a7700a4a1a80df0b403c5ce61bdf34f20148056/gather.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 685, 6768, 774, 11264, 12, 2890, 16, 1111, 4672, 468, 2211, 353, 384, 355, 275, 628, 1922, 16329, 2414, 3796, 1098, 273, 599, 261, 86, 16, 284, 16, 331, 13, 273, 1111, 2, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 685, 6768, 774, 11264, 12, 2890, 16, 1111, 4672, 468, 2211, 353, 384, 355, 275, 628, 1922, 16329, 2414, 3796, 1098, 273, 599, 261, 86, 16, 284, 16, 331, 13, 273, 1111, 2, -100, ...
SyntaxError: augmented assignment to generator expression not possible (<doctest test.test_genexps.__test__.doctests[39]>, line 1)
SyntaxError: augmented assignment to generator expression not possible (<doctest test.test_genexps.__test__.doctests[41]>, line 1)
>>> def f(n):
29d4ceb11fbd1f6e11e36be19da019271e95c43f /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3187/29d4ceb11fbd1f6e11e36be19da019271e95c43f/test_genexps.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 4080, 1652, 284, 12, 82, 4672, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 4080, 1652, 284, 12, 82, 4672, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
self.version = 3.0
self.version = 3.0
def initfp(self, fp, filename): self = VideoParams.init(self) self.fp = fp self.filename = filename self.version = 3.0 # In case anyone inquires self.headerwritten = 0 return self
bc8db65fb865f65620ed14ed45643363560060e3 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3187/bc8db65fb865f65620ed14ed45643363560060e3/VFile.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1208, 7944, 12, 2890, 16, 4253, 16, 1544, 4672, 365, 273, 14030, 1370, 18, 2738, 12, 2890, 13, 365, 18, 7944, 273, 4253, 365, 18, 3459, 273, 1544, 365, 18, 1589, 273, 890, 18, 20, 46...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1208, 7944, 12, 2890, 16, 4253, 16, 1544, 4672, 365, 273, 14030, 1370, 18, 2738, 12, 2890, 13, 365, 18, 7944, 273, 4253, 365, 18, 3459, 273, 1544, 365, 18, 1589, 273, 890, 18, 20, 46...
file.Write(" EXPECT_EQ(sizeof(cmd), cmd.header.size * 4); // NOLINT\n")
file.Write(" EXPECT_EQ(sizeof(cmd), cmd.header.size * 4u); // NOLINT\n")
def WriteCmdSizeTest(self, func, file): """Writes the size test for a command.""" file.Write(" EXPECT_EQ(sizeof(cmd), cmd.header.size * 4); // NOLINT\n")
d294ef3a7f91afdc1e5f9f570da7b8ef4b5bd8b7 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/9392/d294ef3a7f91afdc1e5f9f570da7b8ef4b5bd8b7/build_gles2_cmd_buffer.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2598, 5931, 1225, 4709, 12, 2890, 16, 1326, 16, 585, 4672, 3536, 8368, 326, 963, 1842, 364, 279, 1296, 12123, 585, 18, 3067, 2932, 225, 5675, 1423, 1268, 67, 27247, 12, 1467, 792, 12, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2598, 5931, 1225, 4709, 12, 2890, 16, 1326, 16, 585, 4672, 3536, 8368, 326, 963, 1842, 364, 279, 1296, 12123, 585, 18, 3067, 2932, 225, 5675, 1423, 1268, 67, 27247, 12, 1467, 792, 12, ...
_logger.exception('Get nextval for %s', self._sequence)
_logger.exception('Get nextval for %s', self._sequence)
def create(self, cr, user, vals, context=None): """ Create new record with specified value
6ba509fc0bdc7db3fa49a7ada79e9dd2aab5aac7 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12853/6ba509fc0bdc7db3fa49a7ada79e9dd2aab5aac7/orm.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 752, 12, 2890, 16, 4422, 16, 729, 16, 5773, 16, 819, 33, 7036, 4672, 3536, 1788, 394, 1409, 598, 1269, 460, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 752, 12, 2890, 16, 4422, 16, 729, 16, 5773, 16, 819, 33, 7036, 4672, 3536, 1788, 394, 1409, 598, 1269, 460, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
outstring = utils.indent(PyParser.PROTECTED_BEGIN, ind) + ' ' + \ section +u'
outstring = utils.indent(PyParser.PROTECTED_BEGIN, ind) + u' ' + \ section + u'
def getProtectedSection(self, parsed, section, ind=0): """Given a parsed python module and a section name, return a string with the protected code-section to be included in the generated module. """
4304ec4612c1ab32ad1c85fb555ab12dbdc9ab0a /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/11941/4304ec4612c1ab32ad1c85fb555ab12dbdc9ab0a/BaseGenerator.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3570, 1050, 5285, 12, 2890, 16, 2707, 16, 2442, 16, 1547, 33, 20, 4672, 3536, 6083, 279, 2707, 5790, 1605, 471, 279, 2442, 508, 16, 327, 279, 533, 598, 326, 4750, 981, 17, 3464, 358, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3570, 1050, 5285, 12, 2890, 16, 2707, 16, 2442, 16, 1547, 33, 20, 4672, 3536, 6083, 279, 2707, 5790, 1605, 471, 279, 2442, 508, 16, 327, 279, 533, 598, 326, 4750, 981, 17, 3464, 358, ...
print "CURSOR: %s" % self.cursor
def lexIdent(self, ch): token = self.token input = self.source
90473594c42899d7ca44e35a3375030fc586310c /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12949/90473594c42899d7ca44e35a3375030fc586310c/Tokenizer.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 5275, 6106, 12, 2890, 16, 462, 4672, 1147, 273, 365, 18, 2316, 810, 273, 365, 18, 3168, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 5275, 6106, 12, 2890, 16, 462, 4672, 1147, 273, 365, 18, 2316, 810, 273, 365, 18, 3168, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
if filename.find("%v") >=0: filename = filename.replace ("%v",self.bootcd_version())
try: filename = filename.replace ("%f", self.nodefamily) except: pass try: filename = filename.replace ("%a", arch) except: pass try: filename = filename.replace ("%v",self.bootcd_version()) except: pass
def hexa2 (c): return chr((c>>4)+65) + chr ((c&16)+65)
4c450582aee96a815d62fdfa9ed65e911d37cbf7 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/7598/4c450582aee96a815d62fdfa9ed65e911d37cbf7/GetBootMedium.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3827, 69, 22, 261, 71, 4672, 327, 4513, 12443, 71, 9778, 24, 27921, 9222, 13, 397, 4513, 14015, 71, 10, 2313, 27921, 9222, 13, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3827, 69, 22, 261, 71, 4672, 327, 4513, 12443, 71, 9778, 24, 27921, 9222, 13, 397, 4513, 14015, 71, 10, 2313, 27921, 9222, 13, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
perms = stat(filename)[ST_MODE]
perms = os.stat(filename)[ST_MODE]
def VerifyConfigFile(self, entry): '''Install ConfigFile Entry''' filename = entry.get('name') try: ondisk = stat(filename) except OSError: self.CondPrint('debug', "File %s doesn't exist" % (filename)) return False try: data = open(filename).read() except IOError: self.CondPrint('debug', "Failed to read %s" % (filename...
6b7fe3dffd69efeeeabbce0bcd6cab97bde94cef /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/11867/6b7fe3dffd69efeeeabbce0bcd6cab97bde94cef/Toolset.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 8553, 13705, 12, 2890, 16, 1241, 4672, 9163, 6410, 31988, 3841, 26418, 1544, 273, 1241, 18, 588, 2668, 529, 6134, 775, 30, 603, 10863, 273, 610, 12, 3459, 13, 1335, 10002, 30, 365, 18, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 8553, 13705, 12, 2890, 16, 1241, 4672, 9163, 6410, 31988, 3841, 26418, 1544, 273, 1241, 18, 588, 2668, 529, 6134, 775, 30, 603, 10863, 273, 610, 12, 3459, 13, 1335, 10002, 30, 365, 18, ...
static object looking at the last exceptiopn. It is queried through
static object looking at the last exception. It is queried through
def open_remote_stack_viewer(self): """Initiate the remote stack viewer from a separate thread.
8942d562f96c87ba6a48f673189015e9a36f3a37 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/3187/8942d562f96c87ba6a48f673189015e9a36f3a37/PyShell.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1696, 67, 7222, 67, 3772, 67, 25256, 12, 2890, 4672, 3536, 28464, 326, 2632, 2110, 14157, 628, 279, 9004, 2650, 18, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1696, 67, 7222, 67, 3772, 67, 25256, 12, 2890, 4672, 3536, 28464, 326, 2632, 2110, 14157, 628, 279, 9004, 2650, 18, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
label='Scan &Outgoing Email Messages',
label='&Scan &Outgoing Email Messages',
def _init_ctrls(self, prnt): # generated method, don't edit wxDialog.__init__(self, id=wxID_WXPREFERENCESDLG, name='', parent=prnt, pos=wxPoint(523, 301), size=wxSize(419, 351), style=wxDEFAULT_DIALOG_STYLE, title='ClamWin Preferences') self._init_utils() self.SetClientSize(wxSize(411, 324)) self.SetAutoLayout(False) s...
ced0911957faf8b1fa6a8ca1040dbad5f3b217f2 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/3644/ced0911957faf8b1fa6a8ca1040dbad5f3b217f2/wxDialogPreferences.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 2738, 67, 16277, 87, 12, 2890, 16, 846, 496, 4672, 468, 4374, 707, 16, 2727, 1404, 3874, 7075, 6353, 16186, 2738, 972, 12, 2890, 16, 612, 33, 27226, 734, 67, 59, 60, 3670, 10830, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 2738, 67, 16277, 87, 12, 2890, 16, 846, 496, 4672, 468, 4374, 707, 16, 2727, 1404, 3874, 7075, 6353, 16186, 2738, 972, 12, 2890, 16, 612, 33, 27226, 734, 67, 59, 60, 3670, 10830, ...
r = apply(func, args, kw)
if kw: r = apply(func, args, kw) else: r = apply(func, args)
def s_apply(self, func, *args, **kw):
19bd1da574b4daf24452a7875d9a48aa1a95e175 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3187/19bd1da574b4daf24452a7875d9a48aa1a95e175/rexec.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 272, 67, 9010, 12, 2890, 16, 1326, 16, 380, 1968, 16, 2826, 9987, 4672, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 272, 67, 9010, 12, 2890, 16, 1326, 16, 380, 1968, 16, 2826, 9987, 4672, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
for id in res.keys(): order=self.browse(cr, uid, [id])[0] cur=order.pricelist_id.currency_id res[id]=cur_obj.round(cr, uid, cur, res[id])
for sale in self.browse(cr, uid, ids): res[sale.id] = 0.0 for line in sale.order_line: res[sale.id] += line.price_subtotal cur = sale.pricelist_id.currency_id res[sale.id] = cur_obj.round(cr, uid, cur, res[sale.id])
def _amount_untaxed(self, cr, uid, ids, field_name, arg, context): id_set = ",".join(map(str, ids)) cr.execute("SELECT s.id,COALESCE(SUM(l.price_unit*l.product_uos_qty*(100-l.discount))/100.0,0) AS amount FROM sale_order s LEFT OUTER JOIN sale_order_line l ON (s.id=l.order_id) WHERE s.id IN ("+id_set+") GROUP BY s.id "...
880941c7d88639b50849f33bfc80be025b67b916 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/7397/880941c7d88639b50849f33bfc80be025b67b916/sale.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 8949, 67, 318, 8066, 329, 12, 2890, 16, 4422, 16, 4555, 16, 3258, 16, 652, 67, 529, 16, 1501, 16, 819, 4672, 612, 67, 542, 273, 5753, 18, 5701, 12, 1458, 12, 701, 16, 3258, 37...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 8949, 67, 318, 8066, 329, 12, 2890, 16, 4422, 16, 4555, 16, 3258, 16, 652, 67, 529, 16, 1501, 16, 819, 4672, 612, 67, 542, 273, 5753, 18, 5701, 12, 1458, 12, 701, 16, 3258, 37...
self.tk.eval('package require Tix')
self.tk.eval('package require Tix')
def __init__(self, screenName=None, baseName=None, className='Tk'): Tkinter.Tk.__init__(self, screenName, baseName, className)
0049f0036898e656085d5c214ba07642a9c25a6e /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12029/0049f0036898e656085d5c214ba07642a9c25a6e/Tix.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 5518, 461, 33, 7036, 16, 16162, 33, 7036, 16, 2658, 2218, 56, 79, 11, 4672, 399, 79, 2761, 18, 56, 79, 16186, 2738, 972, 12, 2890, 16, 5518, 461, 16, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 5518, 461, 33, 7036, 16, 16162, 33, 7036, 16, 2658, 2218, 56, 79, 11, 4672, 399, 79, 2761, 18, 56, 79, 16186, 2738, 972, 12, 2890, 16, 5518, 461, 16, ...
if len(ybounds.shape) == 1 and len(ybounds) == array_data.shape[0]: ys = linspace(ybounds[0], ybounds[-1], array_data.shape[0])
if len(ybounds.shape) == 1 and len(ybounds) == num_y_ticks: ys = linspace(ybounds[0], ybounds[-1], num_y_ticks) elif len(ybounds.shape) == 1 and len(ybounds) == num_y_ticks-1: raise ValueError("The ybounds array of an image plot needs to have 1 more element that its corresponding data shape, because it represents the ...
def contour_plot(self, data, type="line", name=None, poly_cmap=None, xbounds=None, ybounds=None, origin=None, hide_grids=True, **styles): """ Adds contour plots to this Plot object.
1e2431fcd42684676163acf6b275c1ef4d5fd87b /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/13167/1e2431fcd42684676163acf6b275c1ef4d5fd87b/plot.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 15332, 67, 4032, 12, 2890, 16, 501, 16, 618, 1546, 1369, 3113, 508, 33, 7036, 16, 7573, 67, 22738, 33, 7036, 16, 619, 10576, 33, 7036, 16, 677, 10576, 33, 7036, 16, 4026, 33, 7036, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 15332, 67, 4032, 12, 2890, 16, 501, 16, 618, 1546, 1369, 3113, 508, 33, 7036, 16, 7573, 67, 22738, 33, 7036, 16, 619, 10576, 33, 7036, 16, 677, 10576, 33, 7036, 16, 4026, 33, 7036, 1...
lang = config.mylang project = config.family
def checkbot(): # Command line configurable parameters repeat = True # Restart after having check all the images? limit = 80 # How many images check? time_sleep = 30 # How many time sleep after the check? skip_number = 0 # How many images to skip before checking? wait_number = 0 # How many time sleep before the check? ...
543017432a3cd7c95be566464146b6eed2ebdadc /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/4404/543017432a3cd7c95be566464146b6eed2ebdadc/checkimages.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 866, 4819, 13332, 468, 3498, 980, 14593, 1472, 7666, 273, 1053, 468, 20709, 1839, 7999, 866, 777, 326, 4602, 35, 1800, 273, 8958, 468, 9017, 4906, 4602, 866, 35, 813, 67, 19607, 273, 519...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 866, 4819, 13332, 468, 3498, 980, 14593, 1472, 7666, 273, 1053, 468, 20709, 1839, 7999, 866, 777, 326, 4602, 35, 1800, 273, 8958, 468, 9017, 4906, 4602, 866, 35, 813, 67, 19607, 273, 519...
return unit_docs[unit_to_type[str(unit)]+"_docs"][str(unit)]
return unit_docs[unit_to_type[str(unit)]+"_docs"][str(unit)]
def unitdocs(unit): """ Returns docstring for the given unit. INPUT: - ``unit`` OUTPUT: - ``string`` EXAMPLES:: sage: sage.symbolic.units.unitdocs('meter') 'SI base unit of length.\nDefined to be the distance light travels in vacuum in 1/299792458 of a second.' sage: sage.symbolic.units.unitdocs('amu') 'Abbreviat...
04717bf1b9b9ac138edf5b9001954a2a12d3790d /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/9417/04717bf1b9b9ac138edf5b9001954a2a12d3790d/units.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2836, 8532, 12, 4873, 4672, 3536, 2860, 14525, 364, 326, 864, 2836, 18, 225, 12943, 30, 225, 300, 12176, 4873, 10335, 225, 11550, 30, 225, 300, 12176, 1080, 10335, 225, 5675, 8900, 11386, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2836, 8532, 12, 4873, 4672, 3536, 2860, 14525, 364, 326, 864, 2836, 18, 225, 12943, 30, 225, 300, 12176, 4873, 10335, 225, 11550, 30, 225, 300, 12176, 1080, 10335, 225, 5675, 8900, 11386, ...
raise NotImplementedError, "object does not support iteration" for entries in sage.misc.mrange.cartesian_product_iterator([base_ring]*(self.__nrows*self.__ncols)): yield self(entries=list(entries), rows=True)
weight = 0 while True: for iv in sage.combinat.integer_vector.IntegerVectors(weight, number_of_entries): yield self(entries=[base_elements[i] for i in iv], rows=True) weight += 1 base_elements.append( base_iter.next() ) else: for entries in sage.misc.mrange.cartesian_product_iterator([base_ring]*number_of_entri...
def __iter__(self): """ EXAMPLES: sage: MS = MatrixSpace(GF(2),2) sage: a = list(MS) sage: len(a) 16 sage: a[0] [0 0] [0 0]
aaa5492c353acf5983c942588b4766cde1644355 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/9890/aaa5492c353acf5983c942588b4766cde1644355/matrix_space.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2165, 972, 12, 2890, 4672, 3536, 5675, 8900, 11386, 30, 272, 410, 30, 9238, 273, 7298, 3819, 12, 43, 42, 12, 22, 3631, 22, 13, 272, 410, 30, 279, 273, 666, 12, 3537, 13, 272, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2165, 972, 12, 2890, 4672, 3536, 5675, 8900, 11386, 30, 272, 410, 30, 9238, 273, 7298, 3819, 12, 43, 42, 12, 22, 3631, 22, 13, 272, 410, 30, 279, 273, 666, 12, 3537, 13, 272, ...
<tr> <td valign="top" nowrap> <table> <tr valign="bottom"> <td>%s</td> <td>%s</td> <td>%s</td> <td>%s</td> </tr> <tr valign="bottom"> <td>%s</td> <td>%s</td> <td>%s</td> <td>%s</td> </tr> <tr valign="bottom"> <td>%s</td> <td>%s</td> <td>%s</td> <td>%s</td> </tr> </table> </td> </tr>""" % \ (cell_1_left, cell_1_right, c...
<table class="searchbox"> <thead> <tr> <th colspan="3" class="searchboxheader"> Search for: </th> </tr> </thead> <tbody> <tr valign="bottom"> <td class="searchboxbody">%s</td> <td class="searchboxbody">%s</td> <td class="searchboxbody">%s</td> </tr> <tr valign="bottom"> <td class="searchboxbody">%s</td> <td class="sear...
def create_search_box(cc, colls, p, f, rg, sf, so, sp, of, ot, as, p1, f1, m1, op1, p2, f2, m2, op2, p3, f3, m3, sc, d1y, d1m, d1d, d2y, d2m, d2d): "Create search box for 'search again in the results page' functionality." out = "" # print search box prolog: out += """ <form action="%s/search.py" method="get"> <strong c...
620cac641ba839b8d458726c5bcd42752af2f02c /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2139/620cac641ba839b8d458726c5bcd42752af2f02c/search_engine.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 752, 67, 3072, 67, 2147, 12, 952, 16, 645, 3251, 16, 293, 16, 284, 16, 14524, 16, 9033, 16, 1427, 16, 1694, 16, 434, 16, 15835, 16, 487, 16, 293, 21, 16, 284, 21, 16, 312, 21, 16...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 752, 67, 3072, 67, 2147, 12, 952, 16, 645, 3251, 16, 293, 16, 284, 16, 14524, 16, 9033, 16, 1427, 16, 1694, 16, 434, 16, 15835, 16, 487, 16, 293, 21, 16, 284, 21, 16, 312, 21, 16...
security.declareProtected(permissions.View,
security.declareProtected(CMFCorePermissions.View,
def validate(self, instance=None, REQUEST=None, errors=None, data=None, metadata=None): """Validate the state of the entire object.
67576cc5acaaf506c58ee3fea91da40c0a6516a2 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12165/67576cc5acaaf506c58ee3fea91da40c0a6516a2/__init__.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1954, 12, 2890, 16, 791, 33, 7036, 16, 12492, 33, 7036, 16, 1334, 33, 7036, 16, 501, 33, 7036, 16, 1982, 33, 7036, 4672, 3536, 4270, 326, 919, 434, 326, 7278, 733, 18, 2, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1954, 12, 2890, 16, 791, 33, 7036, 16, 12492, 33, 7036, 16, 1334, 33, 7036, 16, 501, 33, 7036, 16, 1982, 33, 7036, 4672, 3536, 4270, 326, 919, 434, 326, 7278, 733, 18, 2, -100, -100,...
regex = '([^:]+://(.*)/([^/]*)$'
regex = '([^:]+://(.*)/([^/]*))$'
def get_package_name(self, url, pkg_type): ''' Extract the group and test name for the url. This method is currently used only for tests. ''' if pkg_type == 'test': regex = '([^:]+://(.*)/([^/]*)$' return self._get_package_name(url, regex) else: return ('', url)
79fb92c18027bd15e492d9e3be357c187ebf29fd /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/12268/79fb92c18027bd15e492d9e3be357c187ebf29fd/packages.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 67, 5610, 67, 529, 12, 2890, 16, 880, 16, 3475, 67, 723, 4672, 9163, 8152, 326, 1041, 471, 1842, 508, 364, 326, 880, 18, 1220, 707, 353, 4551, 1399, 1338, 364, 7434, 18, 9163, 3...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 67, 5610, 67, 529, 12, 2890, 16, 880, 16, 3475, 67, 723, 4672, 9163, 8152, 326, 1041, 471, 1842, 508, 364, 326, 880, 18, 1220, 707, 353, 4551, 1399, 1338, 364, 7434, 18, 9163, 3...
dirpath = u"%s%s" % (channels_to_copy[dir_key], u'folder.jpg') dirpath2 = u"%s%s" % (channels_to_copy[dir_key], u'folder.png')
dirpath = u"%s%s" % (copy_dir, u'folder.jpg') dirpath2 = u"%s%s" % (copy_dir, u'folder.png')
def main(): """Support mirobridge from the command line returns True """ global localhostname, simulation, verbose, storagegroups, ffmpeg, channel_id, channel_num global flat, download_sleeptime, channel_watch_only, channel_mythvideo_only, channel_new_watch_copy global vid_graphics_dirs, imagemagick, statistics, requir...
0f178cb606ce1cfb96840e30bd489d420b041e6d /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/13713/0f178cb606ce1cfb96840e30bd489d420b041e6d/mirobridge.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2774, 13332, 3536, 6289, 312, 11373, 18337, 628, 326, 1296, 980, 1135, 1053, 3536, 2552, 1191, 10358, 16, 14754, 16, 3988, 16, 2502, 4650, 16, 6875, 19951, 16, 1904, 67, 350, 16, 1904, 6...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2774, 13332, 3536, 6289, 312, 11373, 18337, 628, 326, 1296, 980, 1135, 1053, 3536, 2552, 1191, 10358, 16, 14754, 16, 3988, 16, 2502, 4650, 16, 6875, 19951, 16, 1904, 67, 350, 16, 1904, 6...
print >>dagfile, """\
print >>dagfile, """
def write_abstract_dag(self): """ Write all the nodes in the workflow to the DAX file. """ if not self.__dax_file_path: # this workflow is not dax-compatible, so don't write a dax return try: dagfile = open( self.__dax_file_path, 'w' ) except: raise CondorDAGError, "Cannot open file " + self.__dag_file_path
24b81d2ec6995782c831003011aff6c9c31e0e57 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/3589/24b81d2ec6995782c831003011aff6c9c31e0e57/pipeline.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1045, 67, 17801, 67, 30204, 12, 2890, 4672, 3536, 2598, 777, 326, 2199, 316, 326, 6095, 358, 326, 463, 2501, 585, 18, 3536, 309, 486, 365, 16186, 72, 651, 67, 768, 67, 803, 30, 468, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1045, 67, 17801, 67, 30204, 12, 2890, 4672, 3536, 2598, 777, 326, 2199, 316, 326, 6095, 358, 326, 463, 2501, 585, 18, 3536, 309, 486, 365, 16186, 72, 651, 67, 768, 67, 803, 30, 468, ...
print "Polar:", polar_angles print "Azi:", azi_angles
if debug: print "Polar:", polar_angles print "Azi:", azi_angles
def __calc_azi(xi, yi): return math.atan2(yi, xi)
5dda94f6f020457616aeb9c18c84293aeaff5080 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/762/5dda94f6f020457616aeb9c18c84293aeaff5080/calc_dgs_params.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 12448, 67, 1561, 77, 12, 27005, 16, 16805, 4672, 327, 4233, 18, 270, 304, 22, 12, 93, 77, 16, 14087, 13, 225, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 12448, 67, 1561, 77, 12, 27005, 16, 16805, 4672, 327, 4233, 18, 270, 304, 22, 12, 93, 77, 16, 14087, 13, 225, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
raise IOError("File not found: %s" % fpath)
raise IOError(errno.ENOENT, "File not found: %s" % fpath)
def __get_data_3(self, cr, uid, boo, ira, context): if not boo.online: raise RuntimeError('media offline') if boo.type == 'filestore': if not ira.store_fname: # On a migrated db, some files may have the wrong storage type # try to fix their directory. if ira.file_size: self._doclog.warning( "ir.attachment #%d does not ...
26935b22e6e045097f3c67418c982392e9fa3a9e /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/7397/26935b22e6e045097f3c67418c982392e9fa3a9e/document_storage.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 588, 67, 892, 67, 23, 12, 2890, 16, 4422, 16, 4555, 16, 800, 83, 16, 277, 354, 16, 819, 4672, 309, 486, 800, 83, 18, 21026, 30, 1002, 7265, 2668, 5829, 13493, 6134, 309, 800, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 588, 67, 892, 67, 23, 12, 2890, 16, 4422, 16, 4555, 16, 800, 83, 16, 277, 354, 16, 819, 4672, 309, 486, 800, 83, 18, 21026, 30, 1002, 7265, 2668, 5829, 13493, 6134, 309, 800, ...
if not basepos: return None, None, None, V(1,0,0)
if not len(basepos): return [], [], [], V(1,0,0)
def shakedown_poly_eval_evec_axis(basepos): """Given basepos (an array of atom positions), compute and return (as the elements of a tuple) the bounding polyhedron we should draw around these atoms to designate that their molecule is selected, the eigenvalues and eigenvectors of the inertia tensor (computed as if all at...
ddbce1fed5b575cd52c58bfa9a8780a5e1190eee /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/11221/ddbce1fed5b575cd52c58bfa9a8780a5e1190eee/chunk.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 699, 9477, 995, 67, 16353, 67, 8622, 67, 73, 8799, 67, 4890, 12, 1969, 917, 4672, 3536, 6083, 1026, 917, 261, 304, 526, 434, 3179, 6865, 3631, 3671, 471, 327, 261, 345, 326, 2186, 434,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 699, 9477, 995, 67, 16353, 67, 8622, 67, 73, 8799, 67, 4890, 12, 1969, 917, 4672, 3536, 6083, 1026, 917, 261, 304, 526, 434, 3179, 6865, 3631, 3671, 471, 327, 261, 345, 326, 2186, 434,...
retangle.SetYLength(size) seeds_yi = self.seeds_yi seeds_yi.SetPoint1(0, 0, 0) seeds_yi.SetPoint2(0, self.y_length, 0) seeds_yf = self.seeds_yf seeds_yf.SetPoint1(self.x_length, self.y_length, 0) seeds_yf.SetPoint2(self.x_length, 0, 0) seeds_xi = self.seeds_xi seeds_xi.SetPoint1(0, self.y_length, 0) seeds_xi.SetPoin...
retangle.SetYLength(size)
def SetSize(self, size): print "SetSize", size self.x_length = size self.y_length = size retangle = self.retangle retangle.SetXLength(size) retangle.SetYLength(size) seeds_yi = self.seeds_yi seeds_yi.SetPoint1(0, 0, 0) seeds_yi.SetPoint2(0, self.y_length, 0) seeds_yf = self.seeds_yf seeds_yf.SetPoint1(self.x_length, ...
d8df5d576e393f5c8db03d2308e5e6c2d2e3c49e /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/10228/d8df5d576e393f5c8db03d2308e5e6c2d2e3c49e/cursor_actors.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1000, 1225, 12, 2890, 16, 963, 4672, 1172, 315, 694, 1225, 3113, 963, 365, 18, 92, 67, 2469, 273, 963, 365, 18, 93, 67, 2469, 273, 963, 325, 4341, 273, 365, 18, 1349, 4341, 325, 4341...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1000, 1225, 12, 2890, 16, 963, 4672, 1172, 315, 694, 1225, 3113, 963, 365, 18, 92, 67, 2469, 273, 963, 365, 18, 93, 67, 2469, 273, 963, 325, 4341, 273, 365, 18, 1349, 4341, 325, 4341...
[2*5 + 2*5^2 + 4*5^3 + 3*5^4 + 3*5^5 + 4*5^6 + 3*5^7 + 4*5^8 + O(5^9) 2*5 + 3*5^2 + 3*5^3 + 3*5^4 + 2*5^5 + O(5^7)] [ 2*5 + 3*5^2 + 3*5^3 + 3*5^4 + 2*5^5 + O(5^7) 3*5^3 + 5^4 + 5^6 + O(5^7)]
[2*5 + 2*5^2 + 4*5^3 + 3*5^4 + 3*5^5 + 4*5^6 + 3*5^7 + 4*5^8 + O(5^9) 4*5 + 3*5^3 + 2*5^4 + 5^5 + 3*5^7 + 3*5^8 + O(5^9)] [ 4*5 + 3*5^3 + 2*5^4 + 5^5 + 3*5^7 + 3*5^8 + O(5^9) 5 + 4*5^2 + 4*5^3 + 2*5^4 + 4*5^5 + 5^6 + O(5^9)]
def padic_height_pairing_matrix(self, p, prec=20, height=None, check_hypotheses=True): r""" Computes the cyclotomic $p$-adic height pairing matrix of this curve with respect to the basis self.gens() for the Mordell-Weil group for a given odd prime p of good ordinary reduction.
301d66444833e15425355df335abccca8dbadfca /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/9417/301d66444833e15425355df335abccca8dbadfca/ell_rational_field.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4627, 335, 67, 4210, 67, 6017, 310, 67, 5667, 12, 2890, 16, 293, 16, 13382, 33, 3462, 16, 2072, 33, 7036, 16, 866, 67, 76, 879, 10370, 281, 281, 33, 5510, 4672, 436, 8395, 14169, 281...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4627, 335, 67, 4210, 67, 6017, 310, 67, 5667, 12, 2890, 16, 293, 16, 13382, 33, 3462, 16, 2072, 33, 7036, 16, 866, 67, 76, 879, 10370, 281, 281, 33, 5510, 4672, 436, 8395, 14169, 281...
getGWConfig().constrains = escape(safe_unicode(value))
getGWConfig().constrains = value
def set(self, value): getGWConfig().constrains = escape(safe_unicode(value))
070938d23071aedec649c8a62af7f37abc39f9d9 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/13072/070938d23071aedec649c8a62af7f37abc39f9d9/controlpanel.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 444, 12, 2890, 16, 460, 4672, 7162, 59, 809, 7675, 591, 701, 4167, 273, 4114, 12, 4626, 67, 9124, 12, 1132, 3719, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 444, 12, 2890, 16, 460, 4672, 7162, 59, 809, 7675, 591, 701, 4167, 273, 4114, 12, 4626, 67, 9124, 12, 1132, 3719, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
if not self.thread_started: logging.info("Movie data thread not started, waiting to " "request update for %s", item) addTimeout(1, self.request_update, "movie data update request", args=(item,)) return
def request_update(self, item): if self.in_shutdown: return if not self.thread_started: logging.info("Movie data thread not started, waiting to " "request update for %s", item) addTimeout(1, self.request_update, "movie data update request", args=(item,)) return
1ba4c98f96fe2ceb6deb3abf18c2384f10813f44 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12354/1ba4c98f96fe2ceb6deb3abf18c2384f10813f44/moviedata.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 590, 67, 2725, 12, 2890, 16, 761, 4672, 309, 365, 18, 267, 67, 15132, 30, 327, 309, 486, 365, 18, 5930, 67, 14561, 30, 2907, 18, 1376, 2932, 16727, 13120, 501, 2650, 486, 5746, 16, 7...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 590, 67, 2725, 12, 2890, 16, 761, 4672, 309, 365, 18, 267, 67, 15132, 30, 327, 309, 486, 365, 18, 5930, 67, 14561, 30, 2907, 18, 1376, 2932, 16727, 13120, 501, 2650, 486, 5746, 16, 7...
return obj[key]
try: return obj[key] except TypeError: return None
def get_value(self, obj, key): return obj[key]
9dff7b737749386a017588a0f8487ca1d061b5b9 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12441/9dff7b737749386a017588a0f8487ca1d061b5b9/repository_tags.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 67, 1132, 12, 2890, 16, 1081, 16, 498, 4672, 327, 1081, 63, 856, 65, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 67, 1132, 12, 2890, 16, 1081, 16, 498, 4672, 327, 1081, 63, 856, 65, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
def processViews(views, loadDeps, runDeps):
def processViews(views, loadDeps, runDeps, output):
def processViews(views, loadDeps, runDeps): global classes print ">>> Analysing %s views..." % len(views) classCounts = {} # Generating data structures for possible modules classMods = {} # for id in views: # Hint: IDs # # apiviewer # feedreader # webmail # apiviewer-feedreader # apiviewer-webmail # feedreader-webm...
0695d5fc7db251d077ab56c9991eee69ced5d073 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/5718/0695d5fc7db251d077ab56c9991eee69ced5d073/generator2.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1207, 9959, 12, 7061, 16, 1262, 14430, 16, 1086, 14430, 16, 876, 4672, 2552, 3318, 225, 1172, 315, 23012, 1922, 3646, 310, 738, 87, 7361, 7070, 738, 562, 12, 7061, 13, 225, 667, 9211, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1207, 9959, 12, 7061, 16, 1262, 14430, 16, 1086, 14430, 16, 876, 4672, 2552, 3318, 225, 1172, 315, 23012, 1922, 3646, 310, 738, 87, 7361, 7070, 738, 562, 12, 7061, 13, 225, 667, 9211, ...
return video
if video: return video
def _get_video(self, _id): if self.interactive: try: video = self.videos[int(_id)] except (KeyError,ValueError): pass else: return video _id, backend_name = self.parse_id(_id) backend_names = (backend_name,) if backend_name is not None else self.enabled_backends for backend, video in self.do('get_video', _id, backends=...
56cc59cf5ebf0dc00a19bd190da7b6bd940c8d3b /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/7471/56cc59cf5ebf0dc00a19bd190da7b6bd940c8d3b/videoob.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 588, 67, 9115, 12, 2890, 16, 389, 350, 4672, 309, 365, 18, 24761, 30, 775, 30, 6191, 273, 365, 18, 6768, 538, 63, 474, 24899, 350, 25887, 1335, 261, 653, 668, 16, 23610, 4672, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 588, 67, 9115, 12, 2890, 16, 389, 350, 4672, 309, 365, 18, 24761, 30, 775, 30, 6191, 273, 365, 18, 6768, 538, 63, 474, 24899, 350, 25887, 1335, 261, 653, 668, 16, 23610, 4672, 1...
try: root._delObject('test') except AttributeError: pass
def setUp( self ): SecurityTest.setUp(self)
f8b16c94ed9650b5181b4f2212c671fd580300f3 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/1843/f8b16c94ed9650b5181b4f2212c671fd580300f3/test_PortalFolder.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 24292, 12, 365, 262, 30, 6036, 4709, 18, 542, 1211, 12, 2890, 13, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 24292, 12, 365, 262, 30, 6036, 4709, 18, 542, 1211, 12, 2890, 13, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
self.help_fcompiler = None
def initialize_options(self): self.fcompiler = None self.f77exec = None self.f90exec = None self.f77flags = None self.f90flags = None self.opt = None self.arch = None self.debug = None self.noopt = None self.noarch = None self.help_fcompiler = None return
1bca125a3f0c1e86b7777adebcdde5671b713f92 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/14925/1bca125a3f0c1e86b7777adebcdde5671b713f92/config_compiler.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4046, 67, 2116, 12, 2890, 4672, 365, 18, 74, 9576, 273, 599, 365, 18, 74, 4700, 4177, 273, 599, 365, 18, 74, 9349, 4177, 273, 599, 365, 18, 74, 4700, 7133, 273, 599, 365, 18, 74, 9...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4046, 67, 2116, 12, 2890, 4672, 365, 18, 74, 9576, 273, 599, 365, 18, 74, 4700, 4177, 273, 599, 365, 18, 74, 9349, 4177, 273, 599, 365, 18, 74, 4700, 7133, 273, 599, 365, 18, 74, 9...
class CountryContinentRedirect(MMSQLObject):
class CountryContinentRedirect(SQLObject): class sqlmeta: cacheValues = False
def ageFileDetails(): for d in Directory.select(): d.age_file_details()
ec0d40658f0447775d65e70acc1cb8593a9f2027 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/13031/ec0d40658f0447775d65e70acc1cb8593a9f2027/model.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 9388, 812, 3790, 13332, 364, 302, 316, 8930, 18, 4025, 13332, 302, 18, 410, 67, 768, 67, 6395, 1435, 225, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 9388, 812, 3790, 13332, 364, 302, 316, 8930, 18, 4025, 13332, 302, 18, 410, 67, 768, 67, 6395, 1435, 225, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
parser.add_option('-j', '--jobs', default=8, type='int',
parser.add_option('-j', '--jobs', default=1, type='int',
def Main(argv): """Doesn't parse the arguments here, just find the right subcommand to execute.""" try: # Do it late so all commands are listed. CMDhelp.usage = ('\n\nCommands are:\n' + '\n'.join([ ' %-10s %s' % (fn[3:], Command(fn[3:]).__doc__.split('\n')[0].strip()) for fn in dir(sys.modules[__name__]) if fn.startsw...
ba752ea109c939d42158491a11ded71925619e05 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/6076/ba752ea109c939d42158491a11ded71925619e05/gclient.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 12740, 12, 19485, 4672, 3536, 10154, 82, 1404, 1109, 326, 1775, 2674, 16, 2537, 1104, 326, 2145, 18856, 358, 1836, 12123, 775, 30, 468, 2256, 518, 26374, 1427, 777, 4364, 854, 12889, 18, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 12740, 12, 19485, 4672, 3536, 10154, 82, 1404, 1109, 326, 1775, 2674, 16, 2537, 1104, 326, 2145, 18856, 358, 1836, 12123, 775, 30, 468, 2256, 518, 26374, 1427, 777, 4364, 854, 12889, 18, ...
error_handler=log.err)
error_handler=d.errback)
def on_sms_list_cb(messages): sms_found = False for msg in messages: if msg['index'] == indexes[0]: sms_found = True
45c00959c14e666ef31b3f93137f14e6d66959e4 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/12036/45c00959c14e666ef31b3f93137f14e6d66959e4/test_dbus.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 603, 67, 20984, 67, 1098, 67, 7358, 12, 6833, 4672, 16188, 67, 7015, 273, 1083, 364, 1234, 316, 2743, 30, 309, 1234, 3292, 1615, 3546, 422, 5596, 63, 20, 14542, 16188, 67, 7015, 273, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 603, 67, 20984, 67, 1098, 67, 7358, 12, 6833, 4672, 16188, 67, 7015, 273, 1083, 364, 1234, 316, 2743, 30, 309, 1234, 3292, 1615, 3546, 422, 5596, 63, 20, 14542, 16188, 67, 7015, 273, 1...
s = f(os.path.join(self.build_src,d))
s = f(build_dir)
def build_data_files_sources(self): if not self.data_files: return log.info('building data_files sources') from numpy.distutils.misc_util import get_data_files new_data_files = [] for data in self.data_files: if isinstance(data,str): new_data_files.append(data) elif isinstance(data,tuple): d,files = data funcs = filter...
b88a3fcd3405258f57ba8ec7ebefbacf13ff5019 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/14925/b88a3fcd3405258f57ba8ec7ebefbacf13ff5019/build_src.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1361, 67, 892, 67, 2354, 67, 10141, 12, 2890, 4672, 309, 486, 365, 18, 892, 67, 2354, 30, 327, 613, 18, 1376, 2668, 3510, 310, 501, 67, 2354, 5550, 6134, 628, 3972, 18, 4413, 5471, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1361, 67, 892, 67, 2354, 67, 10141, 12, 2890, 4672, 309, 486, 365, 18, 892, 67, 2354, 30, 327, 613, 18, 1376, 2668, 3510, 310, 501, 67, 2354, 5550, 6134, 628, 3972, 18, 4413, 5471, 1...
shutil.rmtree(masterpath + "__")
def set_master(masterpath, srcpath): if os.path.exists(masterpath + "_"): shutil.rmtree(masterpath + "_") shutil.copytree(srcpath, masterpath + "_") xapian.WritableDatabase(masterpath + "__", xapian.DB_CREATE_OR_OVERWRITE) os.unlink(os.path.join(masterpath + "_", "uuid")) os.rename(os.path.join(masterpath + "__", "uui...
fb1ade204e7909f1d1bb6c16a3c8b04ad5ca6382 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/569/fb1ade204e7909f1d1bb6c16a3c8b04ad5ca6382/replicationtest2.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 444, 67, 7525, 12, 7525, 803, 16, 1705, 803, 4672, 309, 1140, 18, 803, 18, 1808, 12, 7525, 803, 397, 8802, 4672, 11060, 18, 86, 17371, 12, 7525, 803, 397, 4192, 7923, 11060, 18, 3530, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 444, 67, 7525, 12, 7525, 803, 16, 1705, 803, 4672, 309, 1140, 18, 803, 18, 1808, 12, 7525, 803, 397, 8802, 4672, 11060, 18, 86, 17371, 12, 7525, 803, 397, 4192, 7923, 11060, 18, 3530, ...
tr_flag = False
def _child_get(node, self=None, tagname=None): tr_flag = True for n in node: if self and self.localcontext and n.get('rml_loop', False): oldctx = self.localcontext for ctx in eval(n.get('rml_loop'),{}, self.localcontext): tr_flag = False self.localcontext.update(ctx) if (tagname is None) or (n.tag==tagname): if n.get('...
1f5a45028dbb9e9b367c553790273077b5015a22 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/7397/1f5a45028dbb9e9b367c553790273077b5015a22/utils.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 3624, 67, 588, 12, 2159, 16, 365, 33, 7036, 16, 25586, 33, 7036, 4672, 433, 67, 6420, 273, 1053, 364, 290, 316, 756, 30, 309, 365, 471, 365, 18, 3729, 2472, 471, 290, 18, 588, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 3624, 67, 588, 12, 2159, 16, 365, 33, 7036, 16, 25586, 33, 7036, 4672, 433, 67, 6420, 273, 1053, 364, 290, 316, 756, 30, 309, 365, 471, 365, 18, 3729, 2472, 471, 290, 18, 588, ...
"""Install selected packages.""" mode_title = {'DEFAULT':_('Install'),'LAST':_('Install Last'),'MISSING':_('Install Missing')} def __init__(self,mode='DEFAULT'): Link.__init__(self) self.mode = mode def AppendToMenu(self,menu,window,data): Link.AppendToMenu(self,menu,window,data) self.title = self.mode_title[self.mod...
"""Install selected packages.""" mode_title = {'DEFAULT':_('Install'),'LAST':_('Install Last'),'MISSING':_('Install Missing')} def __init__(self,mode='DEFAULT'): Link.__init__(self) self.mode = mode def AppendToMenu(self,menu,window,data): Link.AppendToMenu(self,menu,window,data) self.title = self.mode_title[self.mod...
def Execute(self,event): """Handle selection.""" installer = self.data[self.selected[0]] installer.hasExtraData ^= True installer.refreshDataSizeCrc() installer.refreshStatus(self.data) self.data.refresh(what='N') self.gTank.RefreshUI()
3ac43907fa076fea1e8d682219e2b28fc7419f7b /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/6682/3ac43907fa076fea1e8d682219e2b28fc7419f7b/basher.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 7903, 12, 2890, 16, 2575, 4672, 3536, 3259, 4421, 12123, 16050, 273, 365, 18, 892, 63, 2890, 18, 8109, 63, 20, 13563, 16050, 18, 5332, 7800, 751, 10352, 1053, 16050, 18, 9144, 29414, 39,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 7903, 12, 2890, 16, 2575, 4672, 3536, 3259, 4421, 12123, 16050, 273, 365, 18, 892, 63, 2890, 18, 8109, 63, 20, 13563, 16050, 18, 5332, 7800, 751, 10352, 1053, 16050, 18, 9144, 29414, 39,...
started_only=True,is_root=False):
started_only=True, is_root=False):
def get_tasks_list(self, tags=None, status=["Active"], notag_only=False, started_only=True,is_root=False): l_tasks = [] for tid in self.ds.all_tasks(): task = self.get_task(tid) if task and not task.is_loaded(): task = None #This is status filtering if task and not task.get_status() in status: task = None #This is tag ...
fe0e64029f8a9c78fa454273c78e41e59d65013b /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/8234/fe0e64029f8a9c78fa454273c78e41e59d65013b/requester.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 67, 9416, 67, 1098, 12, 2890, 16, 2342, 33, 7036, 16, 1267, 33, 9614, 3896, 6, 6487, 486, 346, 67, 3700, 33, 8381, 16, 5746, 67, 3700, 33, 5510, 16, 353, 67, 3085, 33, 8381, 4...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 67, 9416, 67, 1098, 12, 2890, 16, 2342, 33, 7036, 16, 1267, 33, 9614, 3896, 6, 6487, 486, 346, 67, 3700, 33, 8381, 16, 5746, 67, 3700, 33, 5510, 16, 353, 67, 3085, 33, 8381, 4...
self.append(s, charset)
self.append(s, charset, errors)
def __init__(self, s=None, charset=None, maxlinelen=None, header_name=None, continuation_ws=' '): """Create a MIME-compliant header that can contain many character sets.
f4fdff715af7a9d595444065c523f8de5303895d /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8546/f4fdff715af7a9d595444065c523f8de5303895d/Header.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 272, 33, 7036, 16, 4856, 33, 7036, 16, 943, 7511, 292, 275, 33, 7036, 16, 1446, 67, 529, 33, 7036, 16, 17378, 67, 4749, 2218, 296, 4672, 3536, 1684, 27...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 272, 33, 7036, 16, 4856, 33, 7036, 16, 943, 7511, 292, 275, 33, 7036, 16, 1446, 67, 529, 33, 7036, 16, 17378, 67, 4749, 2218, 296, 4672, 3536, 1684, 27...
match = re.match(r'(\w+)(\(.*?\))?', type) coltype = match.group(1)
match = re.match(r'(\w+)(\(.*?\))?\s*(\w+)?\s*(\w+)?', type) col_type = match.group(1)
def reflecttable(self, connection, table): # to use information_schema: #ischema.reflecttable(self, table, ischema_names, use_mysql=True) c = connection.execute("describe " + table.name, {}) found_table = False while True: row = c.fetchone() if row is None: break #print "row! " + repr(row) if not found_table: tabletyp...
d4cbae66037338ea8f727cdaa6ce47844af2be0c /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/1074/d4cbae66037338ea8f727cdaa6ce47844af2be0c/mysql.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3037, 2121, 12, 2890, 16, 1459, 16, 1014, 4672, 468, 358, 999, 1779, 67, 4821, 30, 468, 291, 1243, 18, 1734, 1582, 2121, 12, 2890, 16, 1014, 16, 353, 1243, 67, 1973, 16, 999, 67, 125...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3037, 2121, 12, 2890, 16, 1459, 16, 1014, 4672, 468, 358, 999, 1779, 67, 4821, 30, 468, 291, 1243, 18, 1734, 1582, 2121, 12, 2890, 16, 1014, 16, 353, 1243, 67, 1973, 16, 999, 67, 125...
resp, lines = self.longcmd('XOVER ' + start + '-' + end)
resp, lines = self.longcmd('XOVER ' + start + '-' + end, file)
def xover(self,start,end): """Process an XOVER command (optional server extension) Arguments: - start: start of range - end: end of range Returns: - resp: server response if successful - list: list of (art-nr, subject, poster, date, id, references, size, lines)"""
a26854095be67418bc89eff4874b32e33d7e5bf6 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8546/a26854095be67418bc89eff4874b32e33d7e5bf6/nntplib.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 619, 1643, 12, 2890, 16, 1937, 16, 409, 4672, 3536, 2227, 392, 1139, 12959, 1296, 261, 10444, 1438, 2710, 13, 13599, 30, 300, 787, 30, 787, 434, 1048, 300, 679, 30, 679, 434, 1048, 286...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 619, 1643, 12, 2890, 16, 1937, 16, 409, 4672, 3536, 2227, 392, 1139, 12959, 1296, 261, 10444, 1438, 2710, 13, 13599, 30, 300, 787, 30, 787, 434, 1048, 300, 679, 30, 679, 434, 1048, 286...
if userData['RealImageName'][0] != str(img.name): image_args += " -o %s" % str(img.name) + '/qualityFITS'
if userData['RealImageName'] != str(img.name): image_args += " -o %s" % os.path.join(img.name, 'qualityFITS')
def __getCondorSubmissionFile(self, request, idList): """ Generates a suitable Condor submission for processing images on the cluster.
53d13a845ff9a780f7973b009d6ac016453b5338 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/11651/53d13a845ff9a780f7973b009d6ac016453b5338/qualityfitsin.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 588, 12441, 280, 17865, 812, 12, 2890, 16, 590, 16, 29174, 4672, 3536, 31902, 279, 10631, 735, 72, 280, 8515, 364, 4929, 4602, 603, 326, 2855, 18, 2, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 588, 12441, 280, 17865, 812, 12, 2890, 16, 590, 16, 29174, 4672, 3536, 31902, 279, 10631, 735, 72, 280, 8515, 364, 4929, 4602, 603, 326, 2855, 18, 2, -100, -100, -100, -100, -100, ...
if include_users is not None and u['userName'] not in include_users: users.remove(u) elif u['userName'] in skip_users: users.remove(u)
if (include_users is None or str(u['userName']) in include_users) and u['userName'] not in skip_users: create_users.append(u) for u in create_users:
def main(argv): username = "admin" password = "admin" url = "http://localhost:8080/share" include_users = None skip_users = [ 'System' ] set_dashboards = True set_prefs = True update_profile = True set_avatars = True _debug = 0 if len(argv) > 0: # File name to load users from, or '-' for stdin filename = argv[0] # TO...
dcbf012c57656f19de039298576af4487bd41845 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/8296/dcbf012c57656f19de039298576af4487bd41845/bootstrap-users.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2774, 12, 19485, 4672, 225, 2718, 273, 315, 3666, 6, 2201, 273, 315, 3666, 6, 880, 273, 315, 2505, 2207, 13014, 30, 3672, 3672, 19, 14419, 6, 2341, 67, 5577, 273, 599, 2488, 67, 5577, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2774, 12, 19485, 4672, 225, 2718, 273, 315, 3666, 6, 2201, 273, 315, 3666, 6, 880, 273, 315, 2505, 2207, 13014, 30, 3672, 3672, 19, 14419, 6, 2341, 67, 5577, 273, 599, 2488, 67, 5577, ...
aDataFileManager = DataFileManager()
except: print "\'" + aSaveDirectory + "\'" + " file exists." aDataFileManager = ecell.DataFileManager.DataFileManager()
def saveLoggerData( self, aFullPNString='', aStartTime=-1, aEndTime=-1, aInterval=-1, aSaveDirectory='./'):
6ea167579181f6f123d2a0c124f25670c196af67 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12724/6ea167579181f6f123d2a0c124f25670c196af67/Session.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1923, 3328, 751, 12, 365, 16, 279, 5080, 15124, 780, 2218, 2187, 279, 13649, 29711, 21, 16, 279, 25255, 29711, 21, 16, 279, 4006, 29711, 21, 16, 279, 4755, 2853, 2218, 18, 2473, 4672, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1923, 3328, 751, 12, 365, 16, 279, 5080, 15124, 780, 2218, 2187, 279, 13649, 29711, 21, 16, 279, 25255, 29711, 21, 16, 279, 4006, 29711, 21, 16, 279, 4755, 2853, 2218, 18, 2473, 4672, ...
def test_startswith(self): b = b'hello' self.assertFalse(bytearray().startswith(b"anything")) self.assertTrue(b.startswith(b"hello")) self.assertTrue(b.startswith(b"hel")) self.assertTrue(b.startswith(b"h")) self.assertFalse(b.startswith(b"hellow")) self.assertFalse(b.startswith(b"ha")) def test_endswith(self): b = b...
def test_insert(self): b = bytearray(b'msssspp') b.insert(1, ord('i')) b.insert(4, ord('i')) b.insert(-2, ord('i')) b.insert(1000, ord('i')) self.assertEqual(b, b'mississippi') self.assertRaises(TypeError, lambda: b.insert(0, b'1'))
ee68bbafb3455a5d2d59063851393925977e8adc /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/12029/ee68bbafb3455a5d2d59063851393925977e8adc/test_bytes.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 67, 6387, 12, 2890, 4672, 324, 273, 14552, 12, 70, 17784, 1049, 1049, 11858, 6134, 324, 18, 6387, 12, 21, 16, 4642, 2668, 77, 26112, 324, 18, 6387, 12, 24, 16, 4642, 2668, 77, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 67, 6387, 12, 2890, 4672, 324, 273, 14552, 12, 70, 17784, 1049, 1049, 11858, 6134, 324, 18, 6387, 12, 21, 16, 4642, 2668, 77, 26112, 324, 18, 6387, 12, 24, 16, 4642, 2668, 77, ...
hbox = widget
hbox = gtk.HBox(spacing=3) hbox.pack_start(widget) if translate: button = gtk.Button() img = gtk.Image() img.set_from_stock('gtk-preferences', gtk.ICON_SIZE_BUTTON) button.set_image(img) button.set_relief(gtk.RELIEF_NONE) self.trans_box.append((button, name, fname, widget)) hbox.pack_start(button, fill=False, expand=Fa...
def wid_add(self, widget, name=None, expand=False, ypadding=2, rowspan=1, colspan=1, translate=False, fname=None, help_tip=False, fill=False): (table, width, height) = self.cont[-1] if colspan > self.col[-1]: colspan = self.col[-1] length = name and 1 or 0 if colspan + width + length > self.col[-1]: self.newline() (tab...
49a255dbfd8dc896f11f960d9184a024445edd01 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9151/49a255dbfd8dc896f11f960d9184a024445edd01/parser.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 15481, 67, 1289, 12, 2890, 16, 3604, 16, 508, 33, 7036, 16, 4542, 33, 8381, 16, 677, 9598, 33, 22, 16, 1027, 3969, 33, 21, 16, 20856, 33, 21, 16, 4204, 33, 8381, 16, 5299, 33, 7036...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 15481, 67, 1289, 12, 2890, 16, 3604, 16, 508, 33, 7036, 16, 4542, 33, 8381, 16, 677, 9598, 33, 22, 16, 1027, 3969, 33, 21, 16, 20856, 33, 21, 16, 4204, 33, 8381, 16, 5299, 33, 7036...
global configlet_tree
def createIncomingContext(self): c = AstConf("extensions.conf") contextin = "in-%s" % self.name c.setSection(contextin) c.appendExten("_X.","Set(CDR(intrunk)=%s)" % self.name) if self.clid: needModule("func_callerid") c.appendExten("_X.","Set(CALLERID(name)=%s)" % self.clid) if self.contextin == 'phone' and self.phon...
a47a1f340b5698668d9883e7370f2eda5e32fe0e /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2627/a47a1f340b5698668d9883e7370f2eda5e32fe0e/configlets.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 752, 20370, 1042, 12, 2890, 4672, 276, 273, 16614, 3976, 2932, 9489, 18, 3923, 7923, 819, 267, 273, 315, 267, 6456, 87, 6, 738, 365, 18, 529, 276, 18, 542, 5285, 12, 2472, 267, 13, 2...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 752, 20370, 1042, 12, 2890, 4672, 276, 273, 16614, 3976, 2932, 9489, 18, 3923, 7923, 819, 267, 273, 315, 267, 6456, 87, 6, 738, 365, 18, 529, 276, 18, 542, 5285, 12, 2472, 267, 13, 2...
print("EXCEPTION: "+file+" unrecognized return value ("+str(rv)+")"+" ("+str(round(dt,2))+"s)") print_error(path, printerr)
print("EXCEPTION: "+file+" ended with unrecognized return value! ("+str(rv)+")"+" ("+str(round(dt,2))+"s)")
def run_tests(argv): clean = 0 printerr = 1 #scan for --help and --clean if len(argv) > 1: for arg in argv: if "--help" in arg: do_help(); exit(0) if "--clean" in arg: clean = 1 if "--error" in arg: if printerr == 0: printerr = 1 if printerr == 1: printerr = 0 print("Starting autotest script") there_dir = os.getcwd()...
df94e5b8a9553981a05c88f42b7f6175b9153ec1 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/43/df94e5b8a9553981a05c88f42b7f6175b9153ec1/validate.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1086, 67, 16341, 12, 19485, 4672, 2721, 273, 374, 1172, 370, 273, 404, 468, 9871, 364, 1493, 5201, 471, 1493, 6200, 309, 562, 12, 19485, 13, 405, 404, 30, 364, 1501, 316, 5261, 30, 309...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1086, 67, 16341, 12, 19485, 4672, 2721, 273, 374, 1172, 370, 273, 404, 468, 9871, 364, 1493, 5201, 471, 1493, 6200, 309, 562, 12, 19485, 13, 405, 404, 30, 364, 1501, 316, 5261, 30, 309...
self._prompt_wait = [self._prompt] + [re.compile(x) for x in self._ask]
self._prompt_wait = [self._prompt] + [re.compile(x) for x in self._ask] + \ ['Break [0-9]+']
def __init__(self, script_subdirectory=None, logfile=None, server=None): """ Create an instance of the Maxima interpreter. """ # TODO: Input and output prompts in maxima can be changed by # setting inchar and outchar.. eval_using_file_cutoff = 256 self.__eval_using_file_cutoff = eval_using_file_cutoff STARTUP = '%s/loc...
46dff955cd3e501cc01027d1ffe9473bd5d06afd /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/9890/46dff955cd3e501cc01027d1ffe9473bd5d06afd/maxima.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 2728, 67, 1717, 5149, 33, 7036, 16, 15204, 33, 7036, 16, 1438, 33, 7036, 4672, 3536, 1788, 392, 791, 434, 326, 4238, 13888, 16048, 18, 3536, 468, 2660, 3...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 2728, 67, 1717, 5149, 33, 7036, 16, 15204, 33, 7036, 16, 1438, 33, 7036, 4672, 3536, 1788, 392, 791, 434, 326, 4238, 13888, 16048, 18, 3536, 468, 2660, 3...
self['threads'][thread]['directory']))
self['threads'][thread]['directory']))))
def check(self): global mechanize if not self['global']['urllib'] and not mechanize: print >> sys.stderr, """Using urllib2 instead of mechanize. setting\
0d66125a786b9ec925cf42d85180c8c854987932 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/1664/0d66125a786b9ec925cf42d85180c8c854987932/rssdler.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 866, 12, 2890, 4672, 2552, 1791, 7472, 554, 309, 486, 365, 3292, 6347, 21712, 718, 2941, 3546, 471, 486, 1791, 7472, 554, 30, 1172, 1671, 2589, 18, 11241, 16, 3536, 7736, 11527, 22, 3560...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 866, 12, 2890, 4672, 2552, 1791, 7472, 554, 309, 486, 365, 3292, 6347, 21712, 718, 2941, 3546, 471, 486, 1791, 7472, 554, 30, 1172, 1671, 2589, 18, 11241, 16, 3536, 7736, 11527, 22, 3560...