rem
stringlengths
2
226k
add
stringlengths
0
227k
context
stringlengths
8
228k
meta
stringlengths
156
215
input_ids
list
attention_mask
list
labels
list
pass
def __getitem__(self, index): return 2*str.__getitem__(self, index)
def test_filter_subclasses(self): # test, that filter() never returns tuple, str or unicode subclasses funcs = (None, lambda x: True) class tuple2(tuple): pass class str2(str): pass inputs = { tuple2: [(), (1,2,3)], str2: ["", "123"] } if have_unicode: class unicode2(unicode): pass inputs[unicode2] = [unicode(), unicode("123")]
e03cb0dfb74e6fdef0019740b64cdb246fad25fa /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12029/e03cb0dfb74e6fdef0019740b64cdb246fad25fa/test_builtin.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 67, 2188, 67, 1717, 4701, 12, 2890, 4672, 468, 1842, 16, 716, 1034, 1435, 5903, 1135, 3193, 16, 609, 578, 5252, 15320, 15630, 273, 261, 7036, 16, 3195, 619, 30, 1053, 13, 667, 3193, 22, 12, 8052, 4672, 1652, 1001, 31571, 972, 12, 2890, 16, 770, 4672, 327, 576, 14, 701, 16186, 31571, 972, 12, 2890, 16, 770, 13, 667, 609, 22, 12, 701, 4672, 1652, 1001, 31571, 972, 12, 2890, 16, 770, 4672, 327, 576, 14, 701, 16186, 31571, 972, 12, 2890, 16, 770, 13, 4540, 273, 288, 3193, 22, 30, 306, 9334, 261, 21, 16, 22, 16, 23, 13, 6487, 609, 22, 30, 282, 8247, 3113, 315, 12936, 11929, 289, 309, 1240, 67, 9124, 30, 667, 5252, 22, 12, 9124, 4672, 1652, 1001, 31571, 972, 12, 2890, 16, 770, 4672, 327, 576, 14, 701, 16186, 31571, 972, 12, 2890, 16, 770, 13, 4540, 63, 9124, 22, 65, 273, 306, 9124, 9334, 5252, 2932, 12936, 7923, 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, 0, 0, 0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 1435, 5903, 1135, 3193, 16, 609, 578, 5252, 15320, 15630, 273, 261, 7036, 16, 3195, 619, 30, 1053, 13, 667, 3193, 22, 12, 8052, 4672, 1652, 1001, 31571, 972, 12, 2890, 16, 770, 4672, 327, 576, 14, 701, 16186, 31571, 972, 12, 2890, 16, 770, 13, 667, 609, 22, 12, 701, 4672, 1652, 1001, 31571, 972, 12, 2890, 16, 770, 4672, 327, 576, 14, 701, 16186, 31571, 972, 12, 2890, 16, 770, 13, 4540, 273, 288, 3193, 22, 30, 306, 9334, 261, 21, 16, 22, 16, 23, 13, 6487, 609, 22, 30, 282, 8247, 3113, 315, 12936, 11929, 289, 309, 1240, 67, 9124, 30, 2 ]
These lines should be ignored; they don't refer to real include files.""" return file[0] != '<' and file[-1] != '>'
These lines should be ignored; they don't refer to real include files.""" return file[0] != '<' and file[-1] != '>'
def __notBogus(self, file): """In g++ the first couple of lines in the pre-processed output look like this: # 1 "<built-in>"
cad7e4a6c0d7a6482cfae7cc459e0ba42b3d27f1 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/5344/cad7e4a6c0d7a6482cfae7cc459e0ba42b3d27f1/IncludeFileDependencyAnalyzer.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 902, 38, 28774, 12, 2890, 16, 585, 4672, 3536, 382, 314, 9904, 326, 1122, 1825, 2268, 434, 2362, 316, 326, 675, 17, 11005, 876, 2324, 3007, 333, 30, 468, 404, 3532, 12406, 17, 267, 2984, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 902, 38, 28774, 12, 2890, 16, 585, 4672, 3536, 382, 314, 9904, 326, 1122, 1825, 2268, 434, 2362, 316, 326, 675, 17, 11005, 876, 2324, 3007, 333, 30, 468, 404, 3532, 12406, 17, 267, 2984, 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, -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, -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, -100 ]
""") % os.path.basename(sys.argv[0])
""")
def usage(): print _(""" %s [options] directory-of-packages Options: -u, --baseurl = optional base url location for all files -x, --exclude = files globs to exclude, can be specified multiple times -q, --quiet = run quietly -g, --groupfile <filename> to point to for group information (precreated) -v, --verbose = run verbosely -s, --checksum = md5 or sha - select type of checksum to use (default: md5) -h, --help = show this help -V, --version = output version -p, --pretty = output xml files in pretty format. """) % os.path.basename(sys.argv[0]) sys.exit(1)
32b502611b11134f4b5dfd17f846d51d9807fe7b /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9557/32b502611b11134f4b5dfd17f846d51d9807fe7b/genpkgmetadata.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4084, 13332, 1172, 389, 2932, 3660, 738, 87, 306, 2116, 65, 1867, 17, 792, 17, 10308, 225, 5087, 30, 300, 89, 16, 1493, 1969, 718, 273, 3129, 1026, 880, 2117, 364, 777, 1390, 300, 92, 16, 1493, 10157, 273, 1390, 4715, 87, 358, 4433, 16, 848, 506, 1269, 3229, 4124, 300, 85, 16, 1493, 20380, 273, 1086, 10902, 715, 300, 75, 16, 1493, 1655, 768, 411, 3459, 34, 358, 1634, 358, 364, 1041, 1779, 261, 1484, 4824, 13, 300, 90, 16, 1493, 11369, 273, 1086, 6405, 538, 2357, 300, 87, 16, 1493, 15149, 273, 3481, 25, 578, 6056, 300, 2027, 618, 434, 6697, 358, 999, 261, 1886, 30, 3481, 25, 13, 300, 76, 16, 1493, 5201, 273, 2405, 333, 2809, 300, 58, 16, 1493, 1589, 273, 876, 1177, 300, 84, 16, 1493, 19073, 273, 876, 2025, 1390, 316, 7517, 740, 18, 3536, 13, 225, 2589, 18, 8593, 12, 21, 13, 282, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 4084, 13332, 1172, 389, 2932, 3660, 738, 87, 306, 2116, 65, 1867, 17, 792, 17, 10308, 225, 5087, 30, 300, 89, 16, 1493, 1969, 718, 273, 3129, 1026, 880, 2117, 364, 777, 1390, 300, 92, 16, 1493, 10157, 273, 1390, 4715, 87, 358, 4433, 16, 848, 506, 1269, 3229, 4124, 300, 85, 16, 1493, 20380, 273, 1086, 10902, 715, 300, 75, 16, 1493, 1655, 768, 411, 3459, 34, 358, 1634, 358, 364, 1041, 1779, 261, 1484, 4824, 13, 300, 90, 16, 1493, 11369, 273, 1086, 6405, 538, 2357, 300, 87, 16, 1493, 15149, 273, 3481, 25, 578, 6056, 300, 2027, 618, 434, 6697, 358, 999, 261, 1886, 30, 3481, 25, 13, 300, 76, 16, 1493, 5201, 273, 2405, 2 ]
out.write(" (influence (weigth %f) (bone \"%s\"))\n" % (weight, bone)) out.write(" )) ;; vertex\n")
out.write("\n (influence (weigth %f) (bone \"%s\"))" % (weight, bone)) out.write("))\n")
def write(self, out): out.write(";; -*- scheme -*-\n") out.write("(windstille-model\n") out.write(" (name \"\")\n") for (texture, mesh) in self.mesh_data.iteritems(): out.write(" (mesh\n") out.write(" (name \"\")\n") out.write(" (texture \"%s\")\n\n" % texture) out.write(" (vertices\n") for v in mesh.vertices: out.write(" %10f %10f %10f ;; %d\n" % (v.co[0], v.co[1], v.co[2], v.index)) out.write(" ) ;; vertices\n\n")
7da431e8cd4fe19ba2a089583c4d1402e943c669 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/4846/7da431e8cd4fe19ba2a089583c4d1402e943c669/mesh_export.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1045, 12, 2890, 16, 596, 4672, 596, 18, 2626, 2932, 25708, 300, 14, 17, 4355, 300, 14, 6943, 82, 7923, 596, 18, 2626, 2932, 12, 10094, 334, 14120, 17, 2284, 64, 82, 7923, 596, 18, 2626, 2932, 225, 261, 529, 1239, 2412, 5153, 82, 7923, 225, 364, 261, 955, 594, 16, 6986, 13, 316, 365, 18, 15557, 67, 892, 18, 2165, 3319, 13332, 596, 18, 2626, 2932, 225, 261, 15557, 64, 82, 7923, 596, 18, 2626, 2932, 565, 261, 529, 1239, 2412, 5153, 82, 7923, 596, 18, 2626, 2932, 565, 261, 955, 594, 22049, 87, 2412, 5153, 82, 64, 82, 6, 738, 11428, 13, 596, 18, 2626, 2932, 565, 261, 17476, 64, 82, 7923, 364, 331, 316, 6986, 18, 17476, 30, 596, 18, 2626, 2932, 1377, 738, 2163, 74, 738, 2163, 74, 738, 2163, 74, 274, 31, 738, 72, 64, 82, 6, 738, 261, 90, 18, 2894, 63, 20, 6487, 331, 18, 2894, 63, 21, 6487, 331, 18, 2894, 63, 22, 6487, 331, 18, 1615, 3719, 596, 18, 2626, 2932, 377, 262, 274, 31, 6928, 64, 82, 64, 82, 7923, 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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5153, 82, 7923, 225, 364, 261, 955, 594, 16, 6986, 13, 316, 365, 18, 15557, 67, 892, 18, 2165, 3319, 13332, 596, 18, 2626, 2932, 225, 261, 15557, 64, 82, 7923, 596, 18, 2626, 2932, 565, 261, 529, 1239, 2412, 5153, 82, 7923, 596, 18, 2626, 2932, 565, 261, 955, 594, 22049, 87, 2412, 5153, 82, 64, 82, 6, 738, 11428, 13, 596, 18, 2626, 2932, 565, 261, 17476, 64, 82, 7923, 364, 331, 316, 6986, 2 ]
href = self.link_hrefs[href] text.append('\\q="
href = ' text.append('\\q="%s"' % href)
def dump_text(self, elem, stylizer, page, tag_stack=[]): if not isinstance(elem.tag, basestring) \ or namespace(elem.tag) != XHTML_NS: return []
3a982d51b0d062a965aeac679ffd334f00490a2a /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/9125/3a982d51b0d062a965aeac679ffd334f00490a2a/pmlml.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4657, 67, 955, 12, 2890, 16, 3659, 16, 16253, 80, 1824, 16, 1363, 16, 1047, 67, 3772, 33, 8526, 4672, 309, 486, 1549, 12, 10037, 18, 2692, 16, 10699, 13, 521, 578, 1981, 12, 10037, 18, 2692, 13, 480, 30551, 67, 3156, 30, 327, 5378, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0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22398, 316, 326, 981, 30, 1652, 4657, 67, 955, 12, 2890, 16, 3659, 16, 16253, 80, 1824, 16, 1363, 16, 1047, 67, 3772, 33, 8526, 4672, 309, 486, 1549, 12, 10037, 18, 2692, 16, 10699, 13, 521, 578, 1981, 12, 10037, 18, 2692, 13, 480, 30551, 67, 3156, 30, 327, 5378, 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, -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, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
req.hdf['projects'] = projects
def send_project_index(environ, start_response, parent_dir=None, env_paths=None): req = Request(environ, start_response) loadpaths = [pkg_resources.resource_filename('trac', 'templates')] if req.environ.get('trac.env_index_template'): tmpl_path, template = os.path.split(req.environ['trac.env_index_template']) loadpaths.insert(0, tmpl_path) if template.endswith('.cs'): req.hdf = HDFWrapper(loadpaths) # keep that for custom .cs templates else: template = 'index.html' data = {} if req.environ.get('trac.template_vars'): for pair in req.environ['trac.template_vars'].split(','): key, val = pair.split('=') req.hdf[key] = val data[key] = val if parent_dir and not env_paths: env_paths = dict([(filename, os.path.join(parent_dir, filename)) for filename in os.listdir(parent_dir)]) try: href = Href(req.base_path) projects = [] for env_name, env_path in get_environments(environ).items(): try: env = _open_environment(env_path, run_once=environ['wsgi.run_once']) proj = { 'name': env.project_name, 'description': env.project_description, 'href': href(env_name) } except Exception, e: proj = {'name': env_name, 'description': to_unicode(e)} projects.append(proj) projects.sort(lambda x, y: cmp(x['name'].lower(), y['name'].lower())) req.hdf['projects'] = projects data['projects'] = projects if template.endswith('.cs'): # assume Clearsilver req.display(template) markuptemplate = TemplateLoader(loadpaths).load(template) stream = markuptemplate.generate(**data) output = stream.render('xhtml', doctype=DocType.XHTML_STRICT) req.send(output, 'text/html') except RequestDone: pass
6f3e923127813ae725586b9f66c6f9dde3543cb6 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/9317/6f3e923127813ae725586b9f66c6f9dde3543cb6/main.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1366, 67, 4406, 67, 1615, 12, 28684, 16, 787, 67, 2740, 16, 982, 67, 1214, 33, 7036, 16, 1550, 67, 4481, 33, 7036, 4672, 1111, 273, 1567, 12, 28684, 16, 787, 67, 2740, 13, 225, 1262, 4481, 273, 306, 10657, 67, 4683, 18, 3146, 67, 3459, 2668, 313, 1077, 2187, 296, 8502, 6134, 65, 309, 1111, 18, 28684, 18, 588, 2668, 313, 1077, 18, 3074, 67, 1615, 67, 3202, 11, 4672, 10720, 67, 803, 16, 1542, 273, 1140, 18, 803, 18, 4939, 12, 3658, 18, 28684, 3292, 313, 1077, 18, 3074, 67, 1615, 67, 3202, 19486, 1262, 4481, 18, 6387, 12, 20, 16, 10720, 67, 803, 13, 309, 1542, 18, 5839, 1918, 2668, 18, 2143, 11, 4672, 1111, 18, 26428, 273, 21673, 3611, 12, 945, 4481, 13, 468, 3455, 716, 364, 1679, 263, 2143, 5539, 469, 30, 1542, 273, 296, 1615, 18, 2620, 11, 225, 501, 273, 2618, 309, 1111, 18, 28684, 18, 588, 2668, 313, 1077, 18, 3202, 67, 4699, 11, 4672, 364, 3082, 316, 1111, 18, 28684, 3292, 313, 1077, 18, 3202, 67, 4699, 29489, 4939, 12, 17023, 4672, 498, 16, 1244, 273, 3082, 18, 4939, 2668, 2218, 13, 1111, 18, 26428, 63, 856, 65, 273, 1244, 501, 63, 856, 65, 273, 1244, 225, 309, 982, 67, 1214, 471, 486, 1550, 67, 4481, 30, 1550, 67, 4481, 273, 2065, 3816, 12, 3459, 16, 1140, 18, 803, 18, 5701, 12, 2938, 67, 1214, 16, 1544, 3719, 364, 1544, 316, 1140, 18, 1098, 1214, 12, 2938, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1366, 67, 4406, 67, 1615, 12, 28684, 16, 787, 67, 2740, 16, 982, 67, 1214, 33, 7036, 16, 1550, 67, 4481, 33, 7036, 4672, 1111, 273, 1567, 12, 28684, 16, 787, 67, 2740, 13, 225, 1262, 4481, 273, 306, 10657, 67, 4683, 18, 3146, 67, 3459, 2668, 313, 1077, 2187, 296, 8502, 6134, 65, 309, 1111, 18, 28684, 18, 588, 2668, 313, 1077, 18, 3074, 67, 1615, 67, 3202, 11, 4672, 10720, 67, 803, 16, 1542, 273, 1140, 18, 803, 18, 4939, 12, 3658, 18, 28684, 3292, 313, 1077, 18, 3074, 67, 1615, 67, 3202, 19486, 1262, 4481, 18, 6387, 12, 20, 16, 10720, 67, 803, 13, 309, 1542, 18, 5839, 1918, 2668, 18, 2143, 11, 4672, 1111, 2 ]
self.path = os.tempnam()
self.path = 'shelve-tmp'
def setup(self): filterwarnings('ignore', category=RuntimeWarning) self.path = os.tempnam() resetwarnings() self.jobstore = ShelveJobStore(self.path)
caf7f843fe05560c6027645b7ae8a9a5b58dd52e /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/1127/caf7f843fe05560c6027645b7ae8a9a5b58dd52e/testjobstores.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3875, 12, 2890, 4672, 1034, 12103, 2668, 6185, 2187, 3150, 33, 5576, 6210, 13, 225, 365, 18, 803, 273, 296, 674, 292, 537, 17, 5645, 11, 2715, 12103, 1435, 365, 18, 4688, 2233, 273, 2638, 292, 537, 2278, 2257, 12, 2890, 18, 803, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 273, 296, 674, 292, 537, 17, 5645, 11, 2715, 12103, 1435, 365, 18, 4688, 2233, 273, 2638, 292, 537, 2278, 2257, 12, 2890, 18, 803, 13, 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, -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, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
condition = ' %s %s LastUpdateTime<\'%s\'' % ( condition,
condition = ' %s %s LastUpdateTime < \'%s\'' % ( condition,
def __buildCondition(self, condDict, older=None, newer=None ): """ build SQL condition statement from provided condDict and other extra conditions """ condition = '' conjunction = "WHERE"
6335d855dbf67ac99d8948e0e96bdb0d29625a15 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/12864/6335d855dbf67ac99d8948e0e96bdb0d29625a15/JobDB.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 3510, 3418, 12, 2890, 16, 6941, 5014, 16, 12156, 33, 7036, 16, 16069, 33, 7036, 262, 30, 3536, 1361, 3063, 2269, 3021, 628, 2112, 6941, 5014, 471, 1308, 2870, 4636, 3536, 2269, 273, 875, 20998, 273, 315, 12299, 6, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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 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, 3510, 3418, 12, 2890, 16, 6941, 5014, 16, 12156, 33, 7036, 16, 16069, 33, 7036, 262, 30, 3536, 1361, 3063, 2269, 3021, 628, 2112, 6941, 5014, 471, 1308, 2870, 4636, 3536, 2269, 273, 875, 20998, 273, 315, 12299, 6, 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, -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, -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.settings.bind ('format', combo, 'active', Gio.SettingsBindFlags.DEFAULT)
combo.connect ('changed', self.on_format_combo_changed) self.settings.connect ('changed::format', self.on_format_setting_changed, combo)
def do_create_configure_widget(self): """ Plugin config widget. This code must be independent from the rest of the plugin. FIXME: bgo#624073 """ builder = Totem.plugin_load_interface ('jamendo', 'jamendo.ui', True, None, self) config_widget = builder.get_object ('config_widget') config_widget.connect ('destroy', self.on_config_widget_destroy) format = self.settings.get_enum ('format') num_per_page = self.settings.get_value ('num-per-page').get_uint32 ()
9d086e27d2de84cccc99e768e08c3108b738c619 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/11070/9d086e27d2de84cccc99e768e08c3108b738c619/jamendo.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 741, 67, 2640, 67, 14895, 67, 6587, 12, 2890, 4672, 3536, 6258, 642, 3604, 18, 1220, 981, 1297, 506, 14807, 628, 326, 3127, 434, 326, 1909, 18, 9852, 30, 324, 3240, 7, 26, 3247, 8642, 23, 3536, 2089, 273, 399, 352, 351, 18, 4094, 67, 945, 67, 5831, 7707, 78, 301, 409, 83, 2187, 296, 78, 301, 409, 83, 18, 4881, 2187, 1053, 16, 599, 16, 365, 13, 642, 67, 6587, 273, 2089, 18, 588, 67, 1612, 7707, 1425, 67, 6587, 6134, 642, 67, 6587, 18, 3612, 7707, 11662, 2187, 365, 18, 265, 67, 1425, 67, 6587, 67, 11662, 13, 740, 273, 365, 18, 4272, 18, 588, 67, 7924, 7707, 2139, 6134, 818, 67, 457, 67, 2433, 273, 365, 18, 4272, 18, 588, 67, 1132, 7707, 2107, 17, 457, 17, 2433, 16063, 588, 67, 11890, 1578, 1832, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 741, 67, 2640, 67, 14895, 67, 6587, 12, 2890, 4672, 3536, 6258, 642, 3604, 18, 1220, 981, 1297, 506, 14807, 628, 326, 3127, 434, 326, 1909, 18, 9852, 30, 324, 3240, 7, 26, 3247, 8642, 23, 3536, 2089, 273, 399, 352, 351, 18, 4094, 67, 945, 67, 5831, 7707, 78, 301, 409, 83, 2187, 296, 78, 301, 409, 83, 18, 4881, 2187, 1053, 16, 599, 16, 365, 13, 642, 67, 6587, 273, 2089, 18, 588, 67, 1612, 7707, 1425, 67, 6587, 6134, 642, 67, 6587, 18, 3612, 7707, 11662, 2187, 365, 18, 265, 67, 1425, 67, 6587, 67, 11662, 13, 740, 273, 365, 18, 4272, 18, 588, 67, 7924, 7707, 2139, 6134, 818, 67, 457, 67, 2433, 273, 2 ]
names.append(addr.getHostName()) addrs.append(addr.getHostAddress())
names.append(addr.getHostName()) addrs.append(addr.getHostAddress()) return (names, addrs) def getfqdn(name=None): """ Return a fully qualified domain name for name. If name is omitted or empty it is interpreted as the local host. To find the fully qualified name, the hostname returned by gethostbyaddr() is checked, then aliases for the host, if available. The first name which includes a period is selected. In case no fully qualified domain name is available, the hostname is retur New in version 2.0. """ if not name: name = gethostname() names, addrs = _gethostbyaddr(name) for a in names: if a.find(".") >= 0: return a return name def gethostname(): return java.net.InetAddress.getLocalHost().getHostName() def gethostbyname(name): return java.net.InetAddress.getByName(name).getHostAddress() def gethostbyaddr(name): names, addrs = _gethostbyaddr(name)
def gethostbyaddr(name): # This is as close as I can get; at least the types are correct... addresses = java.net.InetAddress.getAllByName(gethostbyname(name)) names = [] addrs = [] for addr in addresses: names.append(addr.getHostName()) addrs.append(addr.getHostAddress()) return (names[0], names, addrs)
14223076678064a3b30ec8fef6e9db1a1f4b678a /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/6753/14223076678064a3b30ec8fef6e9db1a1f4b678a/socket.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 2564, 1637, 4793, 12, 529, 4672, 468, 1220, 353, 487, 1746, 487, 467, 848, 336, 31, 622, 4520, 326, 1953, 854, 3434, 2777, 6138, 273, 2252, 18, 2758, 18, 382, 278, 1887, 18, 588, 1595, 5911, 12, 75, 546, 669, 1637, 529, 12, 529, 3719, 1257, 273, 5378, 11755, 273, 5378, 364, 3091, 316, 6138, 30, 1257, 18, 6923, 12, 4793, 18, 588, 20946, 10756, 11755, 18, 6923, 12, 4793, 18, 588, 2594, 1887, 10756, 327, 261, 1973, 16, 11755, 13, 225, 1652, 336, 19206, 5176, 12, 529, 33, 7036, 4672, 3536, 2000, 279, 7418, 9348, 2461, 508, 364, 508, 18, 971, 508, 353, 16195, 578, 1008, 518, 353, 19898, 487, 326, 1191, 1479, 18, 225, 2974, 1104, 326, 7418, 9348, 508, 16, 326, 5199, 2106, 635, 336, 2564, 1637, 4793, 1435, 353, 5950, 16, 1508, 6900, 364, 326, 1479, 16, 309, 2319, 18, 1021, 1122, 508, 1492, 6104, 279, 3879, 353, 3170, 18, 657, 648, 1158, 7418, 9348, 2461, 508, 353, 2319, 16, 326, 5199, 353, 325, 295, 1166, 316, 1177, 576, 18, 20, 18, 3536, 309, 486, 508, 30, 508, 273, 336, 10358, 1435, 1257, 16, 11755, 273, 389, 75, 546, 669, 1637, 4793, 12, 529, 13, 364, 279, 316, 1257, 30, 309, 279, 18, 4720, 2932, 1199, 13, 1545, 374, 30, 327, 279, 327, 508, 225, 1652, 336, 10358, 13332, 327, 2252, 18, 2758, 18, 382, 278, 1887, 18, 588, 2042, 2594, 7675, 588, 20946, 1435, 225, 1652, 336, 2564, 1637, 529, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2564, 1637, 4793, 12, 529, 4672, 468, 1220, 353, 487, 1746, 487, 467, 848, 336, 31, 622, 4520, 326, 1953, 854, 3434, 2777, 6138, 273, 2252, 18, 2758, 18, 382, 278, 1887, 18, 588, 1595, 5911, 12, 75, 546, 669, 1637, 529, 12, 529, 3719, 1257, 273, 5378, 11755, 273, 5378, 364, 3091, 316, 6138, 30, 1257, 18, 6923, 12, 4793, 18, 588, 20946, 10756, 11755, 18, 6923, 12, 4793, 18, 588, 2594, 1887, 10756, 327, 261, 1973, 16, 11755, 13, 225, 1652, 336, 19206, 5176, 12, 529, 33, 7036, 4672, 3536, 2000, 279, 7418, 9348, 2461, 508, 364, 508, 18, 971, 508, 353, 16195, 578, 1008, 518, 353, 19898, 487, 326, 1191, 1479, 18, 225, 2974, 2 ]
gLogger.error(errStr,res['Message']) return S_ERROR(errStr)
gLogger.error( errStr, res['Message'] ) return S_ERROR( errStr )
def registerFile(self,fileTuple,catalog=''): """ Register a file.
9fabceb719d19d46d8b75011d2932552dbe360f9 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12864/9fabceb719d19d46d8b75011d2932552dbe360f9/ReplicaManager.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1744, 812, 12, 2890, 16, 768, 9038, 16, 7199, 2218, 11, 4672, 3536, 5433, 279, 585, 18, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1744, 812, 12, 2890, 16, 768, 9038, 16, 7199, 2218, 11, 4672, 3536, 5433, 279, 585, 18, 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, -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, -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, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
(self.ReqThread, [sys.argv[1:]]))
(self.ReqThread, [self.argv[1:]]))
def OnInit(self): print "OnInit" # Setup receive requests thread/send requests. Do this first because # it might be the last thing we do. self.RecvReq()
cc4862e5280b4cad787127dae3540584af491c43 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2496/cc4862e5280b4cad787127dae3540584af491c43/sumigetw.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2755, 2570, 12, 2890, 4672, 1172, 315, 1398, 2570, 6, 468, 10939, 6798, 3285, 2650, 19, 4661, 3285, 18, 2256, 333, 1122, 2724, 468, 518, 4825, 506, 326, 1142, 7757, 732, 741, 18, 365, 18, 28470, 6113, 1435, 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,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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 2755, 2570, 12, 2890, 4672, 1172, 315, 1398, 2570, 6, 468, 10939, 6798, 3285, 2650, 19, 4661, 3285, 18, 2256, 333, 1122, 2724, 468, 518, 4825, 506, 326, 1142, 7757, 732, 741, 18, 365, 18, 28470, 6113, 1435, 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, -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, -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 ]
shutil.copy2(result_path, local_result) return
shutil.copyfile(result_path, local_result) return marker
def storeResult(self, src_path, result_path, suffix=None): """Store file in result_path as result for source in src_path.
a0db602cbfb9c7c256086d792e586db4234a1f20 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/9162/a0db602cbfb9c7c256086d792e586db4234a1f20/cachemanager.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1707, 1253, 12, 2890, 16, 1705, 67, 803, 16, 563, 67, 803, 16, 3758, 33, 7036, 4672, 3536, 2257, 585, 316, 563, 67, 803, 487, 563, 364, 1084, 316, 1705, 67, 803, 18, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1707, 1253, 12, 2890, 16, 1705, 67, 803, 16, 563, 67, 803, 16, 3758, 33, 7036, 4672, 3536, 2257, 585, 316, 563, 67, 803, 487, 563, 364, 1084, 316, 1705, 67, 803, 18, 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, -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, -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, -100, -100, -100, -100 ]
headers, 'file:'+pathname2url(file))
headers, 'file:'+file)
def open_local_file(self, url): import mimetypes, mimetools, StringIO mtype = mimetypes.guess_type(url)[0] headers = mimetools.Message(StringIO.StringIO( 'Content-Type: %s\n' % (mtype or 'text/plain'))) host, file = splithost(url) if not host: return addinfourl(open(url2pathname(file), 'rb'), headers, 'file:'+pathname2url(file)) host, port = splitport(host) if not port \ and socket.gethostbyname(host) in (localhost(), thishost()): return addinfourl(open(url2pathname(file), 'rb'), headers, 'file:'+pathname2url(file)) raise IOError, ('local file error', 'not on local host')
681ea582d3a32b7164c1533b9774b7385525268f /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8125/681ea582d3a32b7164c1533b9774b7385525268f/urllib.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1696, 67, 3729, 67, 768, 12, 2890, 16, 880, 4672, 1930, 20369, 15180, 16, 20369, 278, 8192, 16, 15777, 22189, 273, 20369, 15180, 18, 20885, 67, 723, 12, 718, 25146, 20, 65, 1607, 273, 20369, 278, 8192, 18, 1079, 12, 780, 4294, 18, 780, 4294, 12, 296, 1350, 17, 559, 30, 738, 87, 64, 82, 11, 738, 261, 81, 723, 578, 296, 955, 19, 7446, 11, 20349, 1479, 16, 585, 273, 6121, 483, 669, 12, 718, 13, 309, 486, 1479, 30, 327, 527, 10625, 477, 80, 12, 3190, 12, 718, 22, 28336, 12, 768, 3631, 296, 6731, 19899, 1607, 16, 296, 768, 2497, 15, 768, 13, 1479, 16, 1756, 273, 1416, 655, 12, 2564, 13, 309, 486, 1756, 521, 471, 2987, 18, 75, 546, 669, 1637, 529, 12, 2564, 13, 316, 261, 13014, 9334, 333, 2564, 1435, 4672, 327, 527, 10625, 477, 80, 12, 3190, 12, 718, 22, 28336, 12, 768, 3631, 296, 6731, 19899, 1607, 16, 296, 768, 2497, 15, 768, 13, 1002, 8340, 16, 7707, 3729, 585, 555, 2187, 296, 902, 603, 1191, 1479, 6134, 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, 0, 0, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 0, 0, 0, 0, 0, 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, 3729, 67, 768, 12, 2890, 16, 880, 4672, 1930, 20369, 15180, 16, 20369, 278, 8192, 16, 15777, 22189, 273, 20369, 15180, 18, 20885, 67, 723, 12, 718, 25146, 20, 65, 1607, 273, 20369, 278, 8192, 18, 1079, 12, 780, 4294, 18, 780, 4294, 12, 296, 1350, 17, 559, 30, 738, 87, 64, 82, 11, 738, 261, 81, 723, 578, 296, 955, 19, 7446, 11, 20349, 1479, 16, 585, 273, 6121, 483, 669, 12, 718, 13, 309, 486, 1479, 30, 327, 527, 10625, 477, 80, 12, 3190, 12, 718, 22, 28336, 12, 768, 3631, 296, 6731, 19899, 1607, 16, 296, 768, 2497, 15, 768, 13, 1479, 16, 1756, 273, 1416, 655, 12, 2564, 13, 309, 486, 1756, 2 ]
if ( not line or (line[0] == ' (line[:3] == '"""') or line[:3] == "'''" ):
if (not line or (line[0] == ' (line[:3] == '"""') or line[:3] == "'''"):
def checkline(self, filename, lineno): """Return line number of first line at or after input argument such that if the input points to a 'def', the returned line number is the first non-blank/non-comment line to follow. If the input points to a blank or comment line, return 0. At end of file, also return 0."""
d9a24295df71ae63932b3bee3df16f93d169f7fd /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12029/d9a24295df71ae63932b3bee3df16f93d169f7fd/pdb.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 866, 1369, 12, 2890, 16, 1544, 16, 7586, 4672, 3536, 990, 980, 1300, 434, 1122, 980, 622, 578, 1839, 810, 1237, 4123, 716, 309, 326, 810, 3143, 358, 279, 296, 536, 2187, 326, 2106, 980, 1300, 353, 326, 1122, 1661, 17, 12111, 19, 5836, 17, 3469, 980, 358, 2805, 18, 225, 971, 326, 810, 3143, 358, 279, 7052, 578, 2879, 980, 16, 327, 374, 18, 225, 2380, 679, 434, 585, 16, 2546, 327, 374, 12123, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0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 326, 810, 3143, 358, 279, 296, 536, 2187, 326, 2106, 980, 1300, 353, 326, 1122, 1661, 17, 12111, 19, 5836, 17, 3469, 980, 358, 2805, 18, 225, 971, 326, 810, 3143, 358, 279, 7052, 578, 2879, 980, 16, 327, 374, 18, 225, 2380, 679, 434, 585, 16, 2546, 327, 374, 12123, 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, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
add_resource(unicode(exe_path), bytes, RT_VERSION, 1, False)
add_resource(ensure_unicode(exe_path), bytes, RT_VERSION, 1, False)
def get(name, md = self.distribution.metadata): # Try to get an attribute from the target, if not defined # there, from the distribution's metadata, or None. Note # that only *some* attributes are allowed by distutils on # the distribution's metadata: version, description, and # name. return getattr(target, name, getattr(md, name, None))
1daecd6dc7b82a3126d2c8f13f88dae2e0dfd85e /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/1361/1daecd6dc7b82a3126d2c8f13f88dae2e0dfd85e/build_exe.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 12, 529, 16, 3481, 273, 365, 18, 16279, 18, 4165, 4672, 468, 6161, 358, 336, 392, 1566, 628, 326, 1018, 16, 309, 486, 2553, 468, 1915, 16, 628, 326, 7006, 1807, 1982, 16, 578, 599, 18, 225, 3609, 468, 716, 1338, 380, 19068, 14, 1677, 854, 2935, 635, 2411, 5471, 603, 468, 326, 7006, 1807, 1982, 30, 1177, 16, 2477, 16, 471, 468, 508, 18, 327, 3869, 12, 3299, 16, 508, 16, 3869, 12, 1264, 16, 508, 16, 599, 3719, 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, 0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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 12, 529, 16, 3481, 273, 365, 18, 16279, 18, 4165, 4672, 468, 6161, 358, 336, 392, 1566, 628, 326, 1018, 16, 309, 486, 2553, 468, 1915, 16, 628, 326, 7006, 1807, 1982, 16, 578, 599, 18, 225, 3609, 468, 716, 1338, 380, 19068, 14, 1677, 854, 2935, 635, 2411, 5471, 603, 468, 326, 7006, 1807, 1982, 30, 1177, 16, 2477, 16, 471, 468, 508, 18, 327, 3869, 12, 3299, 16, 508, 16, 3869, 12, 1264, 16, 508, 16, 599, 3719, 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, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
logger.error('Invalid login / password')
self.logger.error('Invalid login / password')
def render(self, request): """ override method of xmlrpc python twisted framework
e72892d916c1268eb91ceb4bb0dc79a81b59f3f8 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/5988/e72892d916c1268eb91ceb4bb0dc79a81b59f3f8/agent.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1743, 12, 2890, 16, 590, 4672, 3536, 3849, 707, 434, 31811, 5790, 2339, 25444, 8257, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1743, 12, 2890, 16, 590, 4672, 3536, 3849, 707, 434, 31811, 5790, 2339, 25444, 8257, 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, -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, -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, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
rc_entry = [r'\Format agr agr Grace "" "%%" "%%" ""'])
rc_entry = [r'\Format agr agr Grace "" "%%" "%%" "vector"'])
def checkFormatEntries(): ''' Check all formats (\Format entries) ''' checkViewer('a Tgif viewer and editor', ['tgif'], rc_entry = [r'\Format tgif obj Tgif "" "%%" "%%" ""']) # checkViewer('a FIG viewer and editor', ['xfig'], rc_entry = [r'\Format fig fig FIG "" "%%" "%%" ""']) # checkViewer('a Grace viewer and editor', ['xmgrace'], rc_entry = [r'\Format agr agr Grace "" "%%" "%%" ""']) # checkViewer('a FEN viewer and editor', ['xboard -lpf $$i -mode EditPosition'], rc_entry = [r'\Format fen fen FEN "" "%%" "%%" ""']) # path, iv = checkViewer('a raster image viewer', ['xv', 'kview', 'gimp']) path, ie = checkViewer('a raster image editor', ['gimp']) addToRC(r'''\Format bmp bmp BMP "" "%s" "%s" ""
2c72e0ecaaf865dbd297652b27bf151011e987c6 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/7514/2c72e0ecaaf865dbd297652b27bf151011e987c6/configure.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 866, 1630, 5400, 13332, 9163, 2073, 777, 6449, 17938, 1630, 3222, 13, 9163, 866, 18415, 2668, 69, 399, 13905, 14157, 471, 4858, 2187, 10228, 88, 13905, 17337, 4519, 67, 4099, 273, 306, 86, 8314, 1630, 268, 13905, 4202, 1081, 377, 399, 13905, 10402, 1408, 2213, 16407, 202, 6, 11438, 6, 202, 3660, 19486, 468, 866, 18415, 2668, 69, 478, 3047, 14157, 471, 4858, 2187, 10228, 92, 470, 17337, 4519, 67, 4099, 273, 306, 86, 8314, 1630, 4291, 3639, 4291, 377, 478, 3047, 10792, 1408, 2213, 16407, 202, 6, 11438, 6, 202, 3660, 19486, 468, 866, 18415, 2668, 69, 611, 9963, 14157, 471, 4858, 2187, 10228, 92, 81, 2752, 311, 17337, 4519, 67, 4099, 273, 306, 86, 8314, 1630, 1737, 86, 3639, 1737, 86, 377, 611, 9963, 5375, 1408, 2213, 16407, 202, 6, 11438, 6, 202, 6, 7737, 6, 19486, 468, 866, 18415, 2668, 69, 478, 1157, 14157, 471, 4858, 2187, 10228, 92, 3752, 300, 9953, 74, 5366, 77, 300, 3188, 15328, 2555, 17337, 4519, 67, 4099, 273, 306, 86, 8314, 1630, 284, 275, 3639, 284, 275, 377, 478, 1157, 10792, 1408, 2213, 16407, 202, 6, 11438, 6, 202, 3660, 19486, 468, 589, 16, 4674, 273, 866, 18415, 2668, 69, 12553, 1316, 14157, 2187, 10228, 92, 90, 2187, 296, 79, 1945, 2187, 296, 75, 14532, 19486, 589, 16, 9228, 273, 866, 18415, 2668, 69, 12553, 1316, 4858, 2187, 10228, 75, 14532, 19486, 9604, 11529, 12, 86, 6309, 8314, 1630, 324, 1291, 3639, 324, 1291, 377, 605, 4566, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1630, 5400, 13332, 9163, 2073, 777, 6449, 17938, 1630, 3222, 13, 9163, 866, 18415, 2668, 69, 399, 13905, 14157, 471, 4858, 2187, 10228, 88, 13905, 17337, 4519, 67, 4099, 273, 306, 86, 8314, 1630, 268, 13905, 4202, 1081, 377, 399, 13905, 10402, 1408, 2213, 16407, 202, 6, 11438, 6, 202, 3660, 19486, 468, 866, 18415, 2668, 69, 478, 3047, 14157, 471, 4858, 2187, 10228, 92, 470, 17337, 4519, 67, 4099, 273, 306, 86, 8314, 1630, 4291, 3639, 4291, 377, 478, 3047, 10792, 1408, 2213, 16407, 202, 6, 11438, 6, 202, 3660, 19486, 468, 866, 18415, 2668, 69, 611, 9963, 14157, 471, 4858, 2187, 10228, 92, 81, 2752, 311, 17337, 4519, 67, 4099, 273, 306, 86, 8314, 1630, 2 ]
QMessageBox.critical(None,'No data','There is no data or no class value is selected in the Manage tab.',QMessageBox.Ok)
QMessageBox.critical(None, 'No data', 'There is no data or no class value is selected in the Manage tab.', QMessageBox.Ok)
def findArguments(self, example = None, selectBest = 1, showClassification = 1): self.cancelArgumentation = 0
6bf8cf381104821879efa123b3213af11c3365e5 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/6366/6bf8cf381104821879efa123b3213af11c3365e5/OWMosaicOptimization.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1104, 4628, 12, 2890, 16, 3454, 273, 599, 16, 2027, 14173, 273, 404, 16, 2405, 19168, 273, 404, 4672, 365, 18, 10996, 1379, 367, 273, 374, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0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 30, 1652, 1104, 4628, 12, 2890, 16, 3454, 273, 599, 16, 2027, 14173, 273, 404, 16, 2405, 19168, 273, 404, 4672, 365, 18, 10996, 1379, 367, 273, 374, 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, -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, -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, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
"""Used as a backend for caching cacheable requests.""" def __init__(self, file_path = None): self.shelf = shelve.open(file_path) def get_xml(self, key): return self.shelf[key] def set_xml(self, key, xml_string): self.shelf[key] = xml_string def has_key(self, key): return key in self.shelf.keys() class _SqliteCacheBackend(object): """Used as a backend for caching cacheable requests.""" def __init__(self, file_path = None): self.connection = sqlite3.connect(file_path) self.connection.execute("CREATE TABLE IF NOT EXISTS cache(key TEXT, xml TEXT)") self.connection.commit() def get_xml(self, key): row = self.connection.execute("SELECT xml FROM cache WHERE key=?", (key,)).fetchone() return row[0] def set_xml(self, key, xml_string): self.connection.execute("INSERT INTO cache VALUES(?, ?)", (key, xml_string)) self.connection.commit() def has_key(self, key): row = self.connection.execute("SELECT COUNT(*) FROM cache WHERE key=?", (key,)).fetchone() return row[0] > 0
"""Used as a backend for caching cacheable requests.""" def __init__(self, file_path = None): self.shelf = shelve.open(file_path) def get_xml(self, key): return self.shelf[key] def set_xml(self, key, xml_string): self.shelf[key] = xml_string def has_key(self, key): return key in self.shelf.keys()
def get_librefm_network(api_key=None, api_secret=None, session_key = None, username = None, password_hash = None): """ Returns a preconfigured Network object for Libre.fm api_key: a provided API_KEY api_secret: a provided API_SECRET session_key: a generated session_key or None username: a username of a valid user password_hash: the output of pylast.md5(password) where password is the user's password if username and password_hash were provided and not session_key, session_key will be generated automatically when needed. """ return Network ( name = "Libre.fm", homepage = "http://alpha.dev.libre.fm", ws_server = ("alpha.dev.libre.fm", "/2.0/"), api_key = api_key, api_secret = api_secret, session_key = session_key, submission_server = "http://turtle.libre.fm:80/", username = username, password_hash = password_hash, domain_names = { DOMAIN_ENGLISH: "alpha.dev.libre.fm", DOMAIN_GERMAN: "alpha.dev.libre.fm", DOMAIN_SPANISH: "alpha.dev.libre.fm", DOMAIN_FRENCH: "alpha.dev.libre.fm", DOMAIN_ITALIAN: "alpha.dev.libre.fm", DOMAIN_POLISH: "alpha.dev.libre.fm", DOMAIN_PORTUGUESE: "alpha.dev.libre.fm", DOMAIN_SWEDISH: "alpha.dev.libre.fm", DOMAIN_TURKISH: "alpha.dev.libre.fm", DOMAIN_RUSSIAN: "alpha.dev.libre.fm", DOMAIN_JAPANESE: "alpha.dev.libre.fm", DOMAIN_CHINESE: "alpha.dev.libre.fm", }, urls = { "album": "artist/%(artist)s/album/%(album)s", "artist": "artist/%(artist)s", "event": "event/%(id)s", "country": "place/%(country_name)s", "playlist": "user/%(user)s/library/playlists/%(appendix)s", "tag": "tag/%(name)s", "track": "music/%(artist)s/_/%(title)s", "group": "group/%(name)s", "user": "user/%(name)s", } )
312230e30b9a32836e57d3014b7461a466a3dbed /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/9926/312230e30b9a32836e57d3014b7461a466a3dbed/pylast.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 67, 2941, 1734, 81, 67, 5185, 12, 2425, 67, 856, 33, 7036, 16, 1536, 67, 5875, 33, 7036, 16, 1339, 67, 856, 273, 599, 16, 2718, 273, 599, 16, 2201, 67, 2816, 273, 599, 4672, 3536, 2860, 279, 675, 16449, 5128, 733, 364, 10560, 266, 18, 25089, 225, 1536, 67, 856, 30, 279, 2112, 1491, 67, 3297, 1536, 67, 5875, 30, 279, 2112, 1491, 67, 20455, 1339, 67, 856, 30, 279, 4374, 1339, 67, 856, 578, 599, 2718, 30, 279, 2718, 434, 279, 923, 729, 2201, 67, 2816, 30, 326, 876, 434, 2395, 2722, 18, 1264, 25, 12, 3664, 13, 1625, 2201, 353, 326, 729, 1807, 2201, 225, 309, 2718, 471, 2201, 67, 2816, 4591, 2112, 471, 486, 1339, 67, 856, 16, 1339, 67, 856, 903, 506, 4374, 6635, 1347, 3577, 18, 3536, 225, 327, 5128, 261, 508, 273, 315, 5664, 266, 18, 25089, 3113, 30815, 273, 315, 2505, 2207, 5429, 18, 5206, 18, 2941, 266, 18, 25089, 3113, 4945, 67, 3567, 273, 7566, 5429, 18, 5206, 18, 2941, 266, 18, 25089, 3113, 2206, 22, 18, 20, 4898, 3631, 1536, 67, 856, 273, 1536, 67, 856, 16, 1536, 67, 5875, 273, 1536, 67, 5875, 16, 1339, 67, 856, 273, 1339, 67, 856, 16, 8515, 67, 3567, 273, 315, 2505, 2207, 25271, 5929, 18, 2941, 266, 18, 25089, 30, 3672, 19, 3113, 2718, 273, 2718, 16, 2201, 67, 2816, 273, 2201, 67, 2816, 16, 2461, 67, 1973, 273, 288, 27025, 67, 16324, 13462, 30, 315, 5429, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2941, 1734, 81, 67, 5185, 12, 2425, 67, 856, 33, 7036, 16, 1536, 67, 5875, 33, 7036, 16, 1339, 67, 856, 273, 599, 16, 2718, 273, 599, 16, 2201, 67, 2816, 273, 599, 4672, 3536, 2860, 279, 675, 16449, 5128, 733, 364, 10560, 266, 18, 25089, 225, 1536, 67, 856, 30, 279, 2112, 1491, 67, 3297, 1536, 67, 5875, 30, 279, 2112, 1491, 67, 20455, 1339, 67, 856, 30, 279, 4374, 1339, 67, 856, 578, 599, 2718, 30, 279, 2718, 434, 279, 923, 729, 2201, 67, 2816, 30, 326, 876, 434, 2395, 2722, 18, 1264, 25, 12, 3664, 13, 1625, 2201, 353, 326, 729, 1807, 2201, 225, 309, 2718, 471, 2201, 67, 2816, 4591, 2112, 471, 2 ]
filename = os.path.join(basedir, f2).replace("\\", "/")
if f2.startswith("/"): filename = f2 else: filename = os.path.join(basedir, f2).replace("\\", "/")
def create(self, file, diffset_history=None): # Parse the diff tool = self.repository.get_scmtool() files = tool.get_parser(file["content"]).parse()
60706ad83b1bad5181bf31ebeb1bfdf412f780e8 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/1600/60706ad83b1bad5181bf31ebeb1bfdf412f780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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 585, 16, 1901, 988, 67, 8189, 33, 7036, 4672, 468, 2884, 326, 3122, 5226, 273, 365, 18, 9071, 18, 588, 67, 1017, 81, 6738, 1435, 1390, 273, 5226, 18, 588, 67, 4288, 12, 768, 9614, 1745, 11929, 2934, 2670, 1435, 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, -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, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
def finalization (self, finalized): if self.pns_articulator: self.pns_articulator = None
def finalization (self, finalized): if self.pns_articulator: self.pns_articulator = None
13a785671c02f96b075541baf8233dd4c62a6f66 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2577/13a785671c02f96b075541baf8233dd4c62a6f66/pns_articulator.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 727, 1588, 261, 2890, 16, 727, 1235, 4672, 309, 365, 18, 84, 2387, 67, 485, 335, 11775, 30, 365, 18, 84, 2387, 67, 485, 335, 11775, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 727, 1588, 261, 2890, 16, 727, 1235, 4672, 309, 365, 18, 84, 2387, 67, 485, 335, 11775, 30, 365, 18, 84, 2387, 67, 485, 335, 11775, 273, 599, 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, -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, -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, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
import traceback
def reader(lnum=[lnum]): highlight[lnum[0]] = 1 try: return linecache.getline(file, lnum[0]) finally: lnum[0] += 1
09adc182bec2333c33693ed33586acc2848b097c /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/3187/09adc182bec2333c33693ed33586acc2848b097c/cgitb.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2949, 12, 80, 2107, 22850, 80, 2107, 65, 4672, 8839, 63, 80, 2107, 63, 20, 13563, 273, 404, 775, 30, 327, 4739, 557, 807, 18, 588, 1369, 12, 768, 16, 328, 2107, 63, 20, 5717, 3095, 30, 328, 2107, 63, 20, 65, 1011, 404, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1, 1, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 2949, 12, 80, 2107, 22850, 80, 2107, 65, 4672, 8839, 63, 80, 2107, 63, 20, 13563, 273, 404, 775, 30, 327, 4739, 557, 807, 18, 588, 1369, 12, 768, 16, 328, 2107, 63, 20, 5717, 3095, 30, 328, 2107, 63, 20, 65, 1011, 404, 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, -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, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
params["gmst"] = date.XLALGreenwichMeanSiderealTime(t)
params["gmst"] = date.XLALGreenwichMeanSiderealTime(t) % (2 * math.pi)
def coinc_params(events, offsetdict): params = {} events.sort(lambda a, b: cmp(a.ifo, b.ifo)) if events: # the "time" is the ms_snr squared weighted average of the # peak times neglecting light-travel times. because # LIGOTimeGPS objects have overflow problems in this sort # of a calculation, the first event's peak time is used as # an epoch and the calculations are done w.r.t. that time. # FIXME: this time is available as the peak_time in the # multi_burst table, and it should be retrieved from that # table instead of being recomputed t = events[0].get_peak() t += sum(float(event.get_peak() - t) * event.ms_snr**2.0 for event in events) / sum(event.ms_snr**2.0 for event in events) params["gmst"] = date.XLALGreenwichMeanSiderealTime(t) for event1, event2 in iterutils.choices(events, 2): if event1.ifo == event2.ifo: # a coincidence is parameterized only by # inter-instrument deltas continue prefix = "%s_%s_" % (event1.ifo, event2.ifo) # in each of the following, if the list of events contains # more than one event from a given instrument, the smallest # deltas are recorded dt = float(event1.get_peak() + offsetdict[event1.ifo] - event2.get_peak() - offsetdict[event2.ifo]) name = "%sdt" % prefix if name not in params or abs(params[name]) > abs(dt): params[name] = dt df = (event1.peak_frequency - event2.peak_frequency) / ((event1.peak_frequency + event2.peak_frequency) / 2) name = "%sdf" % prefix if name not in params or abs(params[name]) > abs(df): params[name] = df dh = (event1.ms_hrss - event2.ms_hrss) / ((event1.ms_hrss + event2.ms_hrss) / 2) name = "%sdh" % prefix if name not in params or abs(params[name]) > abs(dh): params[name] = dh dband = (event1.ms_bandwidth - event2.ms_bandwidth) / ((event1.ms_bandwidth + event2.ms_bandwidth) / 2) name = "%sdband" % prefix if name not in params or abs(params[name]) > abs(dband): params[name] = dband ddur = (event1.ms_duration - event2.ms_duration) / ((event1.ms_duration + event2.ms_duration) / 2) name = "%sddur" % prefix if name not in params or abs(params[name]) > abs(ddur): params[name] = ddur # convert values to 1-D tuples, and we're done return dict([(name, (value,)) for name, value in params.items()])
bd0567708f522ace52db92a88efb2d1257378e26 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/5758/bd0567708f522ace52db92a88efb2d1257378e26/ligolw_burca_tailor.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 13170, 71, 67, 2010, 12, 5989, 16, 1384, 1576, 4672, 859, 273, 2618, 2641, 18, 3804, 12, 14661, 279, 16, 324, 30, 9411, 12, 69, 18, 20299, 16, 324, 18, 20299, 3719, 225, 309, 2641, 30, 468, 326, 315, 957, 6, 353, 326, 4086, 67, 8134, 86, 21778, 13747, 8164, 434, 326, 468, 11148, 4124, 4251, 1582, 310, 9052, 17, 313, 7882, 4124, 18, 225, 2724, 468, 511, 3047, 51, 950, 28983, 2184, 1240, 9391, 9688, 316, 333, 1524, 468, 434, 279, 11096, 16, 326, 1122, 871, 1807, 11148, 813, 353, 1399, 487, 468, 392, 7632, 471, 326, 20882, 854, 2731, 341, 18, 86, 18, 88, 18, 716, 813, 18, 225, 468, 9852, 30, 333, 813, 353, 2319, 487, 326, 11148, 67, 957, 316, 326, 468, 3309, 67, 70, 18593, 1014, 16, 471, 518, 1410, 506, 10295, 628, 716, 468, 1014, 3560, 434, 3832, 283, 20307, 225, 268, 273, 2641, 63, 20, 8009, 588, 67, 10244, 1435, 268, 1011, 2142, 12, 5659, 12, 2575, 18, 588, 67, 10244, 1435, 300, 268, 13, 380, 871, 18, 959, 67, 8134, 86, 636, 22, 18, 20, 364, 871, 316, 2641, 13, 342, 2142, 12, 2575, 18, 959, 67, 8134, 86, 636, 22, 18, 20, 364, 871, 316, 2641, 13, 859, 9614, 23336, 334, 11929, 273, 1509, 18, 23668, 1013, 21453, 91, 1354, 15312, 11067, 822, 287, 950, 12, 88, 13, 738, 261, 22, 380, 4233, 18, 7259, 13, 225, 364, 871, 21, 16, 871, 22, 316, 1400, 5471, 18, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 13170, 71, 67, 2010, 12, 5989, 16, 1384, 1576, 4672, 859, 273, 2618, 2641, 18, 3804, 12, 14661, 279, 16, 324, 30, 9411, 12, 69, 18, 20299, 16, 324, 18, 20299, 3719, 225, 309, 2641, 30, 468, 326, 315, 957, 6, 353, 326, 4086, 67, 8134, 86, 21778, 13747, 8164, 434, 326, 468, 11148, 4124, 4251, 1582, 310, 9052, 17, 313, 7882, 4124, 18, 225, 2724, 468, 511, 3047, 51, 950, 28983, 2184, 1240, 9391, 9688, 316, 333, 1524, 468, 434, 279, 11096, 16, 326, 1122, 871, 1807, 11148, 813, 353, 1399, 487, 468, 392, 7632, 471, 326, 20882, 854, 2731, 341, 18, 86, 18, 88, 18, 716, 813, 18, 225, 468, 9852, 30, 333, 813, 353, 2319, 2 ]
glNormal(normal)
glNormal3fv(normal)
def draw_polygon(self, *data): glBegin(GL_POLYGON) for normal, vectors in data: glNormal(normal) for vector in vectors: glVertex(vector) glEnd()
9454ab7cc06a51f1eb7277af844d0ea826d17ed0 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/11052/9454ab7cc06a51f1eb7277af844d0ea826d17ed0/vis_backends.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3724, 67, 20917, 12, 2890, 16, 380, 892, 4672, 5118, 8149, 12, 11261, 67, 14232, 30317, 673, 13, 364, 2212, 16, 10046, 316, 501, 30, 5118, 5506, 23, 17679, 12, 6130, 13, 364, 3806, 316, 10046, 30, 5118, 6475, 12, 7737, 13, 5118, 1638, 1435, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,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501, 30, 5118, 5506, 23, 17679, 12, 6130, 13, 364, 3806, 316, 10046, 30, 5118, 6475, 12, 7737, 13, 5118, 1638, 1435, 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, -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, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if sys.platform == 'cygwin': return( 'ERROR: you are running from cygwin python, which is not\n' ' supported by "run_webkit_test.py". You should use python\n' ' for Windows (2.5+) to launch this script. A python for\n' ' Windows can be found at your depot_tools folder:\n' ' [DEPOT_TOOLS_PATH]/python ' + '"' + sys.argv[0] + '" ' + ' '.join(sys.argv[1:]))
def main(): if sys.platform == 'cygwin': return( 'ERROR: you are running from cygwin python, which is not\n' ' supported by "run_webkit_test.py". You should use python\n' ' for Windows (2.5+) to launch this script. A python for\n' ' Windows can be found at your depot_tools folder:\n' ' [DEPOT_TOOLS_PATH]/python ' + '"' + sys.argv[0] + '" ' + ' '.join(sys.argv[1:])) cmd = [sys.executable] src_dir=os.path.join(os.path.dirname(os.path.dirname(os.path.dirname( os.path.dirname(os.path.abspath(sys.argv[0])))))) script_dir=os.path.join(src_dir, "third_party", "WebKit", "WebKitTools", "Scripts") script = os.path.join(script_dir, 'new-run-webkit-tests') cmd.append(script) if '--chromium' not in sys.argv: cmd.append('--chromium') cmd.extend(sys.argv[1:]) return subprocess.call(cmd)
d616dc6436b62c19e9499cb3e9c4a7c765558d76 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/5060/d616dc6436b62c19e9499cb3e9c4a7c765558d76/run_webkit_tests.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2774, 13332, 1797, 273, 306, 9499, 18, 17751, 65, 1705, 67, 1214, 33, 538, 18, 803, 18, 5701, 12, 538, 18, 803, 18, 12287, 12, 538, 18, 803, 18, 12287, 12, 538, 18, 803, 18, 12287, 12, 1140, 18, 803, 18, 12287, 12, 538, 18, 803, 18, 5113, 803, 12, 9499, 18, 19485, 63, 20, 22643, 3719, 3719, 2728, 67, 1214, 33, 538, 18, 803, 18, 5701, 12, 4816, 67, 1214, 16, 315, 451, 6909, 67, 21214, 3113, 315, 4079, 14102, 3113, 315, 4079, 14102, 10348, 3113, 315, 15041, 7923, 2728, 273, 1140, 18, 803, 18, 5701, 12, 4263, 67, 1214, 16, 296, 2704, 17, 2681, 17, 29319, 17, 16341, 6134, 1797, 18, 6923, 12, 4263, 13, 309, 3534, 16298, 5077, 11, 486, 316, 2589, 18, 19485, 30, 1797, 18, 6923, 2668, 413, 16298, 5077, 6134, 1797, 18, 14313, 12, 9499, 18, 19485, 63, 21, 30, 5717, 327, 6652, 18, 1991, 12, 4172, 13, 225, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 2774, 13332, 1797, 273, 306, 9499, 18, 17751, 65, 1705, 67, 1214, 33, 538, 18, 803, 18, 5701, 12, 538, 18, 803, 18, 12287, 12, 538, 18, 803, 18, 12287, 12, 538, 18, 803, 18, 12287, 12, 1140, 18, 803, 18, 12287, 12, 538, 18, 803, 18, 5113, 803, 12, 9499, 18, 19485, 63, 20, 22643, 3719, 3719, 2728, 67, 1214, 33, 538, 18, 803, 18, 5701, 12, 4816, 67, 1214, 16, 315, 451, 6909, 67, 21214, 3113, 315, 4079, 14102, 3113, 315, 4079, 14102, 10348, 3113, 315, 15041, 7923, 2728, 273, 1140, 18, 803, 18, 5701, 12, 4263, 67, 1214, 16, 296, 2704, 17, 2681, 17, 29319, 17, 16341, 6134, 1797, 18, 6923, 12, 4263, 13, 309, 2 ]
return str(value)
return unicode(value)
def stanFromValue(self, idx, item, value): # called with the result of extractValue return str(value)
2008a001bd8cad252e9d9321a7c156e99ba6a975 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/6980/2008a001bd8cad252e9d9321a7c156e99ba6a975/tdbview.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 384, 304, 1265, 620, 12, 2890, 16, 2067, 16, 761, 16, 460, 4672, 468, 2566, 598, 326, 563, 434, 2608, 620, 327, 609, 12, 1132, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 384, 304, 1265, 620, 12, 2890, 16, 2067, 16, 761, 16, 460, 4672, 468, 2566, 598, 326, 563, 434, 2608, 620, 327, 609, 12, 1132, 13, 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, -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, -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, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
return ("_".join(strPhrase)) + " (%s)" % chosenToken.getSymbol()
return (("_".join(strPhrase)) + " (%s)" % chosenToken.getSymbol(), phrase)
def generateSentence(self, debug=False): """Get one node, generate a sentence from it forwards to the end of the sentence, and then generate backwards to the beginning of the sentence.
8e1235056f34134b4407cd34d81f66b1b71e2c24 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/13131/8e1235056f34134b4407cd34d81f66b1b71e2c24/Ector.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2103, 17923, 12, 2890, 16, 1198, 33, 8381, 4672, 3536, 967, 1245, 756, 16, 2103, 279, 7515, 628, 518, 24578, 358, 326, 679, 434, 326, 7515, 16, 471, 1508, 2103, 12727, 358, 326, 8435, 434, 326, 7515, 18, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 2103, 17923, 12, 2890, 16, 1198, 33, 8381, 4672, 3536, 967, 1245, 756, 16, 2103, 279, 7515, 628, 518, 24578, 358, 326, 679, 434, 326, 7515, 16, 471, 1508, 2103, 12727, 358, 326, 8435, 434, 326, 7515, 18, 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, -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, -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 ]
'test_heteroatom_organics_C3H6AlH',
def run(self): import sim lac = LengthAngleComparison(self.base + ".mmp") s = sim.Minimize(self.base + ".mmp") s.Temperature = 300 s.go() lac.compare(self.base + ".xyz", self.base + ".xyzcmp", LENGTH_TOLERANCE, ANGLE_TOLERANCE)
3f4a171b835422313ecc0171dd0ab652a7f6a1bc /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/11221/3f4a171b835422313ecc0171dd0ab652a7f6a1bc/tests.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1086, 12, 2890, 4672, 1930, 3142, 328, 1077, 273, 11311, 8467, 16059, 12, 2890, 18, 1969, 397, 3552, 81, 1291, 7923, 272, 273, 3142, 18, 2930, 10153, 12, 2890, 18, 1969, 397, 3552, 81, 1291, 7923, 272, 18, 1837, 9289, 273, 11631, 272, 18, 3240, 1435, 328, 1077, 18, 9877, 12, 2890, 18, 1969, 397, 3552, 17177, 3113, 365, 18, 1969, 397, 3552, 17177, 9625, 3113, 24967, 67, 56, 1741, 654, 4722, 16, 432, 4960, 900, 67, 56, 1741, 654, 4722, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,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16059, 12, 2890, 18, 1969, 397, 3552, 81, 1291, 7923, 272, 273, 3142, 18, 2930, 10153, 12, 2890, 18, 1969, 397, 3552, 81, 1291, 7923, 272, 18, 1837, 9289, 273, 11631, 272, 18, 3240, 1435, 328, 1077, 18, 9877, 12, 2890, 18, 1969, 397, 3552, 17177, 3113, 365, 18, 1969, 397, 3552, 17177, 9625, 3113, 24967, 67, 56, 1741, 654, 4722, 16, 432, 4960, 900, 67, 56, 1741, 654, 4722, 13, 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, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
debinfo = apt_pkg.ParseSection(apt_inst.debExtractControl(file))
try: debinfo = apt_pkg.ParseSection(apt_inst.debExtractControl(file)) for key in debinfo.keys(): value = debinfo.get(key) self.set(key, value) except: self.getFromDpkg(path)
def importDebInfo(self,path): file = open(path,"r") #Getting size from the file size = os.stat(path).st_size.__int__() #Getting md5sum content = file.read() file.close() md5_sum = md5.new(content).hexdigest() file = open(path,"r") debinfo = apt_pkg.ParseSection(apt_inst.debExtractControl(file)) file.close() self.set('Size', size) self.set('MD5sum', md5_sum) '''Import information from Control section''' for key in debinfo.keys(): value = debinfo.get(key) self.set(key, value)
9efb1cc95e1a2c5706c6f55501c3674733f4cd4d /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/1007/9efb1cc95e1a2c5706c6f55501c3674733f4cd4d/package.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1930, 758, 70, 966, 12, 2890, 16, 803, 4672, 225, 585, 273, 1696, 12, 803, 10837, 86, 7923, 468, 19213, 963, 628, 326, 585, 963, 273, 1140, 18, 5642, 12, 803, 2934, 334, 67, 1467, 16186, 474, 972, 1435, 468, 19213, 3481, 25, 1364, 913, 273, 585, 18, 896, 1435, 585, 18, 4412, 1435, 3481, 25, 67, 1364, 273, 3481, 25, 18, 2704, 12, 1745, 2934, 7118, 10171, 1435, 585, 273, 1696, 12, 803, 10837, 86, 7923, 775, 30, 18202, 1376, 273, 279, 337, 67, 10657, 18, 3201, 5285, 12, 1657, 67, 8591, 18, 31888, 4976, 3367, 12, 768, 3719, 364, 498, 316, 18202, 1376, 18, 2452, 13332, 460, 273, 18202, 1376, 18, 588, 12, 856, 13, 365, 18, 542, 12, 856, 16, 460, 13, 1335, 30, 365, 18, 588, 1265, 40, 10657, 12, 803, 13, 585, 18, 4412, 1435, 365, 18, 542, 2668, 1225, 2187, 963, 13, 365, 18, 542, 2668, 6188, 25, 1364, 2187, 3481, 25, 67, 1364, 13, 225, 9163, 5010, 1779, 628, 8888, 2442, 26418, 364, 498, 316, 18202, 1376, 18, 2452, 13332, 460, 273, 18202, 1376, 18, 588, 12, 856, 13, 365, 18, 542, 12, 856, 16, 460, 13, 225, 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, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1930, 758, 70, 966, 12, 2890, 16, 803, 4672, 225, 585, 273, 1696, 12, 803, 10837, 86, 7923, 468, 19213, 963, 628, 326, 585, 963, 273, 1140, 18, 5642, 12, 803, 2934, 334, 67, 1467, 16186, 474, 972, 1435, 468, 19213, 3481, 25, 1364, 913, 273, 585, 18, 896, 1435, 585, 18, 4412, 1435, 3481, 25, 67, 1364, 273, 3481, 25, 18, 2704, 12, 1745, 2934, 7118, 10171, 1435, 585, 273, 1696, 12, 803, 10837, 86, 7923, 775, 30, 18202, 1376, 273, 279, 337, 67, 10657, 18, 3201, 5285, 12, 1657, 67, 8591, 18, 31888, 4976, 3367, 12, 768, 3719, 364, 498, 316, 18202, 1376, 18, 2452, 13332, 460, 273, 18202, 1376, 18, 588, 12, 856, 13, 365, 2 ]
return None, None, "error looking up %s: %s" % (nick, ExceptionDetail())
ui.warn("error looking up %s: %s\n" % (nick, ExceptionDetail())) cl.original_author = nick+"@needtofix" return cl, diffdata, ""
def DownloadCL(ui, repo, clname): cl, err = LoadCL(ui, repo, clname) if err != "": return None, None, "error loading CL %s: %s" % (clname, ExceptionDetail()) # Grab RSS feed to learn about CL feed = XMLGet(ui, "/rss/issue/" + clname) if feed is None: return None, None, "cannot download CL" # Find most recent diff diff = None prefix = 'http://' + server + '/' for link in feed.findall("{http://www.w3.org/2005/Atom}entry/{http://www.w3.org/2005/Atom}link"): if link.get('rel') != 'alternate': continue text = link.get('href') if not text.startswith(prefix) or not text.endswith('.diff'): continue diff = text[len(prefix)-1:] if diff is None: return None, None, "CL has no diff" diffdata = MySend(diff, force_auth=False) # Find author - first entry will be author who created CL. nick = None for author in feed.findall("{http://www.w3.org/2005/Atom}entry/{http://www.w3.org/2005/Atom}author/{http://www.w3.org/2005/Atom}name"): nick = author.findtext("", None).strip() break if not nick: return None, None, "CL has no author" # The author is just a nickname: get the real email address. try: data = MySend("/user_popup/" + nick, force_auth=False) except: return None, None, "error looking up %s: %s" % (nick, ExceptionDetail()) match = re.match(r"<b>(.*) \((.*)\)</b>", data) if not match or match.group(2) != nick: return None, None, "error looking up %s: cannot parse result" % (nick,) email = match.group(1) # Temporary hack until we move to the public code review server. email1, _ = FindContributor(ui, repo, email, warn=False) if email1 == "": email = re.sub("@google.com$", "@golang.org", email) # Print warning if email is not in CONTRIBUTORS file. FindContributor(ui, repo, email) cl.original_author = email return cl, diffdata, ""
780dbdc02448af0dbc9d3675457a580c18c5cee7 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/6483/780dbdc02448af0dbc9d3675457a580c18c5cee7/codereview.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 13059, 5017, 12, 4881, 16, 3538, 16, 927, 529, 4672, 927, 16, 393, 273, 4444, 5017, 12, 4881, 16, 3538, 16, 927, 529, 13, 309, 393, 480, 1408, 30, 327, 599, 16, 599, 16, 315, 1636, 7153, 14934, 738, 87, 30, 738, 87, 6, 738, 261, 830, 529, 16, 1185, 6109, 10756, 225, 468, 17150, 31481, 4746, 358, 16094, 2973, 14934, 4746, 273, 3167, 967, 12, 4881, 16, 2206, 25151, 19, 13882, 4898, 397, 927, 529, 13, 309, 4746, 353, 599, 30, 327, 599, 16, 599, 16, 315, 12892, 4224, 14934, 6, 225, 468, 4163, 4486, 8399, 3122, 3122, 273, 599, 1633, 273, 296, 2505, 8931, 397, 1438, 397, 2023, 364, 1692, 316, 4746, 18, 4720, 454, 2932, 95, 2505, 2207, 5591, 18, 91, 23, 18, 3341, 19, 6976, 25, 19, 3641, 97, 4099, 4938, 2505, 2207, 5591, 18, 91, 23, 18, 3341, 19, 6976, 25, 19, 3641, 97, 1232, 6, 4672, 309, 1692, 18, 588, 2668, 2878, 6134, 480, 296, 16025, 340, 4278, 1324, 977, 273, 1692, 18, 588, 2668, 7547, 6134, 309, 486, 977, 18, 17514, 1918, 12, 3239, 13, 578, 486, 977, 18, 5839, 1918, 2668, 18, 5413, 11, 4672, 1324, 3122, 273, 977, 63, 1897, 12, 3239, 24950, 21, 26894, 309, 3122, 353, 599, 30, 327, 599, 16, 599, 16, 315, 5017, 711, 1158, 3122, 6, 3122, 892, 273, 8005, 3826, 12, 5413, 16, 2944, 67, 1944, 33, 8381, 13, 225, 468, 4163, 2869, 300, 1122, 1241, 903, 506, 2869, 10354, 2522, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 13059, 5017, 12, 4881, 16, 3538, 16, 927, 529, 4672, 927, 16, 393, 273, 4444, 5017, 12, 4881, 16, 3538, 16, 927, 529, 13, 309, 393, 480, 1408, 30, 327, 599, 16, 599, 16, 315, 1636, 7153, 14934, 738, 87, 30, 738, 87, 6, 738, 261, 830, 529, 16, 1185, 6109, 10756, 225, 468, 17150, 31481, 4746, 358, 16094, 2973, 14934, 4746, 273, 3167, 967, 12, 4881, 16, 2206, 25151, 19, 13882, 4898, 397, 927, 529, 13, 309, 4746, 353, 599, 30, 327, 599, 16, 599, 16, 315, 12892, 4224, 14934, 6, 225, 468, 4163, 4486, 8399, 3122, 3122, 273, 599, 1633, 273, 296, 2505, 8931, 397, 1438, 397, 2023, 364, 1692, 316, 4746, 18, 4720, 454, 2932, 2 ]
s = "_%s%s" % (self.className, s)
cls = self.className while cls.startswith('_'): cls = cls[1:] s = "_%s%s" % (cls, s)
def getName(self, s, fast_locals=0): if fast_locals: return s if s[:2] == '__' and s[-2:] != '__' and self.className: s = "_%s%s" % (self.className, s) return s
2577dc628724db3e017edbc976efd423419487f0 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/6753/2577dc628724db3e017edbc976efd423419487f0/SrcGenCompiler.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1723, 12, 2890, 16, 272, 16, 4797, 67, 17977, 33, 20, 4672, 309, 4797, 67, 17977, 30, 327, 272, 309, 272, 10531, 22, 65, 422, 20288, 471, 272, 18919, 22, 26894, 480, 20288, 471, 365, 18, 12434, 30, 2028, 273, 365, 18, 12434, 1323, 2028, 18, 17514, 1918, 2668, 4623, 4672, 2028, 273, 2028, 63, 21, 26894, 272, 273, 4192, 9, 87, 9, 87, 6, 738, 261, 6429, 16, 272, 13, 327, 272, 225, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1723, 12, 2890, 16, 272, 16, 4797, 67, 17977, 33, 20, 4672, 309, 4797, 67, 17977, 30, 327, 272, 309, 272, 10531, 22, 65, 422, 20288, 471, 272, 18919, 22, 26894, 480, 20288, 471, 365, 18, 12434, 30, 2028, 273, 365, 18, 12434, 1323, 2028, 18, 17514, 1918, 2668, 4623, 4672, 2028, 273, 2028, 63, 21, 26894, 272, 273, 4192, 9, 87, 9, 87, 6, 738, 261, 6429, 16, 272, 13, 327, 272, 225, 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, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
self._InspiralAnalysisNode__pad_data = 0
self._AnalysisNode__pad_data = 0
def __init__(self, options, cp, dir='', tag_base=''): """ """ self.__conditionalLoadDefaults__(followUpChiaJob.defaults,cp) #self.__prog__ = 'followUpChiaJob' self.__executable = string.strip(cp.get('condor','chia')) self.__universe = "standard" pipeline.CondorDAGJob.__init__(self,self.__universe,self.__executable) self.add_condor_cmd('getenv','True') self._InspiralAnalysisNode__pad_data = 0
24648911372ea1df253fc45ee5f0a9b8ead25a34 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/3592/24648911372ea1df253fc45ee5f0a9b8ead25a34/stfu_pipe.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 702, 16, 3283, 16, 1577, 2218, 2187, 1047, 67, 1969, 2218, 11, 4672, 3536, 3536, 365, 16186, 22019, 2563, 7019, 972, 12, 14641, 1211, 782, 1155, 2278, 18, 7606, 16, 4057, 13, 468, 2890, 16186, 14654, 972, 273, 296, 14641, 1211, 782, 1155, 2278, 11, 365, 16186, 17751, 273, 533, 18, 6406, 12, 4057, 18, 588, 2668, 10013, 280, 17023, 343, 1155, 26112, 365, 16186, 318, 17488, 273, 315, 10005, 6, 5873, 18, 12441, 280, 40, 1781, 2278, 16186, 2738, 972, 12, 2890, 16, 2890, 16186, 318, 17488, 16, 2890, 16186, 17751, 13, 365, 18, 1289, 67, 10013, 280, 67, 4172, 2668, 588, 3074, 17023, 5510, 6134, 365, 6315, 382, 1752, 481, 287, 9418, 907, 972, 6982, 67, 892, 273, 374, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 702, 16, 3283, 16, 1577, 2218, 2187, 1047, 67, 1969, 2218, 11, 4672, 3536, 3536, 365, 16186, 22019, 2563, 7019, 972, 12, 14641, 1211, 782, 1155, 2278, 18, 7606, 16, 4057, 13, 468, 2890, 16186, 14654, 972, 273, 296, 14641, 1211, 782, 1155, 2278, 11, 365, 16186, 17751, 273, 533, 18, 6406, 12, 4057, 18, 588, 2668, 10013, 280, 17023, 343, 1155, 26112, 365, 16186, 318, 17488, 273, 315, 10005, 6, 5873, 18, 12441, 280, 40, 1781, 2278, 16186, 2738, 972, 12, 2890, 16, 2890, 16186, 318, 17488, 16, 2890, 16186, 17751, 13, 365, 18, 1289, 67, 10013, 280, 67, 4172, 2668, 588, 3074, 17023, 5510, 6134, 365, 6315, 382, 1752, 481, 2 ]
if (options[i].has_key('help') and options[i]['help'] != helps[i]) or \ (not options[i].has_key('help') and helps[i]):
if options[i].get('help') != (self.zclass_productid(), helps[i]):
def manage_edit(self, actions=[], helps=[], REQUEST=None): "Change view actions" options=self.data() changed=0 if len(actions)!=len(options): raise 'Bad Request', 'wrong number of actions'
8cc5fa69428d4423d1da1eccfb017541541e161e /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9658/8cc5fa69428d4423d1da1eccfb017541541e161e/Basic.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 10680, 67, 4619, 12, 2890, 16, 4209, 22850, 6487, 21814, 22850, 6487, 12492, 33, 7036, 4672, 315, 3043, 1476, 4209, 6, 702, 33, 2890, 18, 892, 1435, 3550, 33, 20, 309, 562, 12, 4905, 13, 5, 33, 1897, 12, 2116, 4672, 1002, 296, 6434, 1567, 2187, 296, 21530, 1300, 434, 4209, 11, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0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326, 22398, 316, 326, 981, 30, 1652, 10680, 67, 4619, 12, 2890, 16, 4209, 22850, 6487, 21814, 22850, 6487, 12492, 33, 7036, 4672, 315, 3043, 1476, 4209, 6, 702, 33, 2890, 18, 892, 1435, 3550, 33, 20, 309, 562, 12, 4905, 13, 5, 33, 1897, 12, 2116, 4672, 1002, 296, 6434, 1567, 2187, 296, 21530, 1300, 434, 4209, 11, 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, -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, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
print "ID %d fired %d times" % (firedId, no)
if verbose: print "ID %d fired %d times" % (firedId, no)
def _DumpFireds(self): if not self.fireds: print "ERROR: Nothing was recieved!" for firedId, no in self.fireds.items(): print "ID %d fired %d times" % (firedId, no)
3bf4d00907dec9e1c36a74a8c8bd7df657ca62a2 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/677/3bf4d00907dec9e1c36a74a8c8bd7df657ca62a2/testPyComTest.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 10628, 9723, 2377, 12, 2890, 4672, 309, 486, 365, 18, 12179, 2377, 30, 1172, 315, 3589, 30, 13389, 1703, 1950, 1385, 2155, 4442, 364, 15950, 548, 16, 1158, 316, 365, 18, 12179, 2377, 18, 3319, 13332, 1172, 315, 734, 738, 72, 15950, 738, 72, 4124, 6, 738, 261, 74, 2921, 548, 16, 1158, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 10628, 9723, 2377, 12, 2890, 4672, 309, 486, 365, 18, 12179, 2377, 30, 1172, 315, 3589, 30, 13389, 1703, 1950, 1385, 2155, 4442, 364, 15950, 548, 16, 1158, 316, 365, 18, 12179, 2377, 18, 3319, 13332, 1172, 315, 734, 738, 72, 15950, 738, 72, 4124, 6, 738, 261, 74, 2921, 548, 16, 1158, 13, 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, -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, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
config = RawConfigParser() config.add_section('instance') config.read(['%s/config.ini' % target]) storage = FileStorage('%s/database.fs' % target) database = zodb.Database(storage) root_resource = database.get_resource('/')
config = get_config(target)
def start(parser, options, target): if options.source is not None: parser.error('option --import not allowed in this context') if options.root is not None: parser.error('option --root not allowed in this context') # Load the config config = RawConfigParser() config.add_section('instance') config.read(['%s/config.ini' % target]) # Load the root resource storage = FileStorage('%s/database.fs' % target) database = zodb.Database(storage) root_resource = database.get_resource('/') # Import the root class if is not the default if config.has_option('instance', 'root'): exec('import %s' % config.get('instance', 'root')) # Load the root handler and start the server metadata = root_resource.get_resource('.metadata') metadata = Metadata(metadata) format = metadata.get_property('format') root = Root.build_handler(root_resource, format=format) root.name = root.class_title # Start the server if options.port: port = options.port elif config.has_option('instance', 'port'): port = config.getint('instance', 'port') else: port = None server = Server(root, port=port, access_log='%s/access_log' % target, error_log='%s/error_log' % target, pid_file='%s/pid' % target) server.start()
fa68d086a1fe877a8ae1d77a6739a1d5a8a6179f /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12681/fa68d086a1fe877a8ae1d77a6739a1d5a8a6179f/icms.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 787, 12, 4288, 16, 702, 16, 1018, 4672, 309, 702, 18, 3168, 353, 486, 599, 30, 2082, 18, 1636, 2668, 3482, 1493, 5666, 486, 2935, 316, 333, 819, 6134, 225, 309, 702, 18, 3085, 353, 486, 599, 30, 2082, 18, 1636, 2668, 3482, 1493, 3085, 486, 2935, 316, 333, 819, 6134, 225, 468, 4444, 326, 642, 642, 273, 6576, 809, 2678, 1435, 642, 18, 1289, 67, 3464, 2668, 1336, 6134, 642, 18, 896, 12, 3292, 9, 87, 19, 1425, 18, 8767, 11, 738, 1018, 5717, 225, 468, 4444, 326, 1365, 1058, 2502, 273, 1387, 3245, 29909, 87, 19, 6231, 18, 2556, 11, 738, 1018, 13, 2063, 273, 998, 10605, 18, 4254, 12, 5697, 13, 1365, 67, 3146, 273, 2063, 18, 588, 67, 3146, 2668, 2473, 13, 225, 468, 6164, 326, 1365, 667, 309, 353, 486, 326, 805, 309, 642, 18, 5332, 67, 3482, 2668, 1336, 2187, 296, 3085, 11, 4672, 1196, 2668, 5666, 738, 87, 11, 738, 642, 18, 588, 2668, 1336, 2187, 296, 3085, 26112, 225, 468, 4444, 326, 1365, 1838, 471, 787, 326, 1438, 1982, 273, 1365, 67, 3146, 18, 588, 67, 3146, 2668, 18, 4165, 6134, 1982, 273, 6912, 12, 4165, 13, 740, 273, 1982, 18, 588, 67, 4468, 2668, 2139, 6134, 1365, 273, 7450, 18, 3510, 67, 4176, 12, 3085, 67, 3146, 16, 740, 33, 2139, 13, 1365, 18, 529, 273, 1365, 18, 1106, 67, 2649, 225, 468, 3603, 326, 1438, 309, 702, 18, 655, 30, 1756, 273, 702, 18, 655, 1327, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 787, 12, 4288, 16, 702, 16, 1018, 4672, 309, 702, 18, 3168, 353, 486, 599, 30, 2082, 18, 1636, 2668, 3482, 1493, 5666, 486, 2935, 316, 333, 819, 6134, 225, 309, 702, 18, 3085, 353, 486, 599, 30, 2082, 18, 1636, 2668, 3482, 1493, 3085, 486, 2935, 316, 333, 819, 6134, 225, 468, 4444, 326, 642, 642, 273, 6576, 809, 2678, 1435, 642, 18, 1289, 67, 3464, 2668, 1336, 6134, 642, 18, 896, 12, 3292, 9, 87, 19, 1425, 18, 8767, 11, 738, 1018, 5717, 225, 468, 4444, 326, 1365, 1058, 2502, 273, 1387, 3245, 29909, 87, 19, 6231, 18, 2556, 11, 738, 1018, 13, 2063, 273, 998, 10605, 18, 4254, 12, 5697, 13, 1365, 67, 3146, 273, 2 ]
None,
# typedef void (*lc_callback)(uint32_t, uint32_t, uint32_t, void*);
252469d959d952d07c6c2b796be96c97a8628abc /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/3138/252469d959d952d07c6c2b796be96c97a8628abc/libconcord.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 468, 618, 536, 918, 261, 14, 17704, 67, 3394, 21433, 11890, 1578, 67, 88, 16, 2254, 1578, 67, 88, 16, 2254, 1578, 67, 88, 16, 918, 14, 1769, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,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-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, -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, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
elif self.quota_aware:
elif self.quota_maxbytes != 0:
def unpackFile(self, plfngRelativeDir, FSpackedFile, REQUEST, RESPONSE): """ unpack a file """
67e5620c45438dda1bed6cde3d1daee6f20e185e /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/1807/67e5620c45438dda1bed6cde3d1daee6f20e185e/PloneLocalFolderNG.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 6167, 812, 12, 2890, 16, 886, 74, 3368, 8574, 1621, 16, 9247, 2920, 329, 812, 16, 12492, 16, 20645, 4672, 3536, 6167, 279, 585, 3536, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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2920, 329, 812, 16, 12492, 16, 20645, 4672, 3536, 6167, 279, 585, 3536, 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, -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, -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, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
self.set_go_navigation_sensitivities() if self.slideshow_mode == True: if self.curr_slideshow_random == True: self.timer_delay = gobject.timeout_add(self.delayoptions[self.curr_slideshow_delay]*1000, self.random_img_in_list, "ss") else: self.timer_delay = gobject.timeout_add(self.delayoptions[self.curr_slideshow_delay]*1000, self.next_img_in_list, "ss")
self.set_go_navigation_sensitivities() if self.slideshow_mode == True: if self.curr_slideshow_random == True: self.timer_delay = gobject.timeout_add(self.delayoptions[self.curr_slideshow_delay]*1000, self.random_img_in_list, "ss") else: self.timer_delay = gobject.timeout_add(self.delayoptions[self.curr_slideshow_delay]*1000, self.next_img_in_list, "ss")
def next_img_in_list(self, action): if self.slideshow_mode == True and action != "ss": gobject.source_remove(self.timer_delay) if len(self.image_list) > 1:
a4d6024d09d807bd2a142bf54daca1a7d1873c7f /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2291/a4d6024d09d807bd2a142bf54daca1a7d1873c7f/mirage.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1024, 67, 6081, 67, 267, 67, 1098, 12, 2890, 16, 1301, 4672, 309, 365, 18, 2069, 4369, 13606, 67, 3188, 422, 1053, 471, 1301, 480, 315, 1049, 6877, 314, 1612, 18, 3168, 67, 4479, 12, 2890, 18, 12542, 67, 10790, 13, 309, 562, 12, 2890, 18, 2730, 67, 1098, 13, 405, 404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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1024, 67, 6081, 67, 267, 67, 1098, 12, 2890, 16, 1301, 4672, 309, 365, 18, 2069, 4369, 13606, 67, 3188, 422, 1053, 471, 1301, 480, 315, 1049, 6877, 314, 1612, 18, 3168, 67, 4479, 12, 2890, 18, 12542, 67, 10790, 13, 309, 562, 12, 2890, 18, 2730, 67, 1098, 13, 405, 404, 30, 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, -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, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
host = HostInfo(self.hostUrl, rootDir = rootDir, asMirror = True, perPlatform = False)
host = HostInfo(self.hostUrl, appRunner = base.appRunner, rootDir = rootDir, asMirror = True, perPlatform = False)
def installPackagesInto(self, rootDir, platform): """ Installs the packages required by the .p3d file into the specified root directory, for the given platform. """ if not self.includeRequires: return host = HostInfo(self.hostUrl, rootDir = rootDir, asMirror = True, perPlatform = False) if not host.readContentsFile(): if not host.downloadContentsFile(self.http): Installer.notify.error("couldn't read host") return for name, version in self.requirements: package = host.getPackage(name, version, platform) if not package.downloadDescFile(self.http): Standalone.notify.warning(" -> %s failed for platform %s" % (package.packageName, package.platform)) continue if not package.downloadPackage(self.http): Standalone.notify.warning(" -> %s failed for platform %s" % (package.packageName, package.platform)) continue # Also install the 'images' package from the same host that p3dembed was downloaded from. host = HostInfo(self.standalone.host.hostUrl, rootDir = rootDir, asMirror = False, perPlatform = False) if not host.readContentsFile(): if not host.downloadContentsFile(self.http): Installer.notify.error("couldn't read host") return for package in host.getPackages(name = "images"): if not package.downloadDescFile(self.http): Standalone.notify.warning(" -> %s failed for platform %s" % (package.packageName, package.platform)) continue if not package.downloadPackage(self.http): Standalone.notify.warning(" -> %s failed for platform %s" % (package.packageName, package.platform)) continue break
eee5764b820c84b961f87bb95f693f2e00cf6ee6 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/8543/eee5764b820c84b961f87bb95f693f2e00cf6ee6/DeploymentTools.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3799, 11425, 5952, 12, 2890, 16, 15393, 16, 4072, 4672, 3536, 10284, 87, 326, 5907, 1931, 635, 326, 263, 84, 23, 72, 585, 1368, 326, 1269, 1365, 1867, 16, 364, 326, 864, 4072, 18, 3536, 225, 309, 486, 365, 18, 6702, 21671, 30, 327, 225, 1479, 273, 4893, 966, 12, 2890, 18, 2564, 1489, 16, 595, 9709, 273, 1026, 18, 2910, 9709, 16, 15393, 273, 15393, 16, 487, 13035, 273, 1053, 16, 1534, 8201, 273, 1083, 13, 309, 486, 1479, 18, 896, 6323, 812, 13332, 309, 486, 1479, 18, 7813, 6323, 812, 12, 2890, 18, 2505, 4672, 10284, 264, 18, 12336, 18, 1636, 2932, 15195, 82, 1404, 855, 1479, 7923, 327, 225, 364, 508, 16, 1177, 316, 365, 18, 16175, 30, 2181, 273, 1479, 18, 588, 2261, 12, 529, 16, 1177, 16, 4072, 13, 309, 486, 2181, 18, 7813, 4217, 812, 12, 2890, 18, 2505, 4672, 934, 464, 12451, 18, 12336, 18, 8551, 2932, 225, 317, 738, 87, 2535, 364, 4072, 738, 87, 6, 738, 261, 5610, 18, 5610, 461, 16, 2181, 18, 9898, 3719, 1324, 309, 486, 2181, 18, 7813, 2261, 12, 2890, 18, 2505, 4672, 934, 464, 12451, 18, 12336, 18, 8551, 2932, 225, 317, 738, 87, 2535, 364, 4072, 738, 87, 6, 738, 261, 5610, 18, 5610, 461, 16, 2181, 18, 9898, 3719, 1324, 225, 468, 8080, 3799, 326, 296, 7369, 11, 2181, 628, 326, 1967, 1479, 716, 293, 23, 323, 1627, 329, 1703, 13549, 628, 18, 1479, 273, 4893, 966, 12, 2890, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3799, 11425, 5952, 12, 2890, 16, 15393, 16, 4072, 4672, 3536, 10284, 87, 326, 5907, 1931, 635, 326, 263, 84, 23, 72, 585, 1368, 326, 1269, 1365, 1867, 16, 364, 326, 864, 4072, 18, 3536, 225, 309, 486, 365, 18, 6702, 21671, 30, 327, 225, 1479, 273, 4893, 966, 12, 2890, 18, 2564, 1489, 16, 595, 9709, 273, 1026, 18, 2910, 9709, 16, 15393, 273, 15393, 16, 487, 13035, 273, 1053, 16, 1534, 8201, 273, 1083, 13, 309, 486, 1479, 18, 896, 6323, 812, 13332, 309, 486, 1479, 18, 7813, 6323, 812, 12, 2890, 18, 2505, 4672, 10284, 264, 18, 12336, 18, 1636, 2932, 15195, 82, 1404, 855, 1479, 7923, 327, 225, 364, 508, 16, 1177, 316, 365, 2 ]
print "Can't make thumbnail. Cause : %s", e
print "Can't make thumbnail. Cause : %s" % e thumb = None
def parseFile(self, filepath, pristineFilename, encoding=None): """returns a 4-uple (title, normalized_text, links, offset) TODO: port original code from htmltotext :param encoding: if None, then need to be guessed """ title = unicode(pristineFilename) try: result = 'EXIF : ' + get_ustring_from_exif(filepath) try: thumb = make_thumbnail(filepath, self.get_thumbnails_dir()) except Exception, e: print "Can't make thumbnail. Cause : %s", e return title, result, [thumb], 0 except Exception, e: print "No EXIF nor thumbnails. Cause : %s" % e return title, u'No EXIF information available', [], 0
aa111c7acd95ce5d1a46f02376fb86dc5b2eb508 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2259/aa111c7acd95ce5d1a46f02376fb86dc5b2eb508/texttool.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 31986, 12, 2890, 16, 3608, 16, 846, 376, 558, 5359, 16, 2688, 33, 7036, 4672, 3536, 6154, 279, 1059, 17, 2268, 261, 2649, 16, 5640, 67, 955, 16, 4716, 16, 1384, 13, 2660, 30, 1756, 2282, 981, 628, 1729, 3307, 408, 294, 891, 2688, 30, 309, 599, 16, 1508, 1608, 358, 506, 3058, 281, 730, 3536, 2077, 273, 5252, 12, 683, 376, 558, 5359, 13, 775, 30, 563, 273, 296, 2294, 5501, 294, 296, 397, 336, 67, 407, 371, 67, 2080, 67, 338, 430, 12, 10561, 13, 775, 30, 11156, 273, 1221, 67, 14904, 12, 10561, 16, 365, 18, 588, 67, 14904, 87, 67, 1214, 10756, 1335, 1185, 16, 425, 30, 1172, 315, 2568, 1404, 1221, 9134, 18, 21389, 294, 738, 87, 6, 738, 425, 11156, 273, 599, 327, 2077, 16, 563, 16, 306, 21639, 6487, 374, 1335, 1185, 16, 425, 30, 1172, 315, 2279, 5675, 5501, 12517, 30526, 18, 21389, 294, 738, 87, 6, 738, 425, 327, 2077, 16, 582, 11, 2279, 5675, 5501, 1779, 2319, 2187, 5378, 16, 374, 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, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 31986, 12, 2890, 16, 3608, 16, 846, 376, 558, 5359, 16, 2688, 33, 7036, 4672, 3536, 6154, 279, 1059, 17, 2268, 261, 2649, 16, 5640, 67, 955, 16, 4716, 16, 1384, 13, 2660, 30, 1756, 2282, 981, 628, 1729, 3307, 408, 294, 891, 2688, 30, 309, 599, 16, 1508, 1608, 358, 506, 3058, 281, 730, 3536, 2077, 273, 5252, 12, 683, 376, 558, 5359, 13, 775, 30, 563, 273, 296, 2294, 5501, 294, 296, 397, 336, 67, 407, 371, 67, 2080, 67, 338, 430, 12, 10561, 13, 775, 30, 11156, 273, 1221, 67, 14904, 12, 10561, 16, 365, 18, 588, 67, 14904, 87, 67, 1214, 10756, 1335, 1185, 16, 425, 30, 1172, 315, 2568, 1404, 1221, 9134, 18, 2 ]
if self.HelpBar:
if self:
def RefreshStatusBar(self): if self.HelpBar: selected = self.FileOpened.GetSelection() if selected >= 0: window = self.FileOpened.GetPage(selected) selection = window.GetSelection() if selection: index, subIndex = selection if self.Manager.IsCurrentEntry(index): self.HelpBar.SetStatusText("Index: 0x%04X"%index, 0) self.HelpBar.SetStatusText("Subindex: 0x%02X"%subIndex, 1) entryinfos = self.Manager.GetEntryInfos(index) name = entryinfos["name"] category = "Optional" if entryinfos["need"]: category = "Mandatory" struct = "VAR" number = "" if entryinfos["struct"] & OD_IdenticalIndexes: number = " possibly defined %d times"%entryinfos["nbmax"] if entryinfos["struct"] & OD_IdenticalSubindexes: struct = "REC" elif entryinfos["struct"] & OD_MultipleSubindexes: struct = "ARRAY" text = "%s: %s entry of struct %s%s."%(name,category,struct,number) self.HelpBar.SetStatusText(text, 2) else: for i in xrange(3): self.HelpBar.SetStatusText("", i) else: for i in xrange(3): self.HelpBar.SetStatusText("", i)
38f9154882abacfcf05de77c56e98bf38ab20bec /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/11017/38f9154882abacfcf05de77c56e98bf38ab20bec/objdictedit.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 14179, 1482, 5190, 12, 2890, 4672, 309, 365, 30, 3170, 273, 365, 18, 812, 23115, 18, 967, 6233, 1435, 309, 3170, 1545, 374, 30, 2742, 273, 365, 18, 812, 23115, 18, 967, 1964, 12, 8109, 13, 4421, 273, 2742, 18, 967, 6233, 1435, 309, 4421, 30, 770, 16, 720, 1016, 273, 4421, 309, 365, 18, 1318, 18, 2520, 3935, 1622, 12, 1615, 4672, 365, 18, 6696, 5190, 18, 20547, 1528, 2932, 1016, 30, 374, 92, 9, 3028, 60, 28385, 1615, 16, 374, 13, 365, 18, 6696, 5190, 18, 20547, 1528, 2932, 1676, 1615, 30, 374, 92, 9, 3103, 60, 28385, 1717, 1016, 16, 404, 13, 1241, 18227, 273, 365, 18, 1318, 18, 967, 1622, 7655, 12, 1615, 13, 508, 273, 1241, 18227, 9614, 529, 11929, 3150, 273, 315, 6542, 6, 309, 1241, 18227, 9614, 14891, 11929, 30, 3150, 273, 315, 49, 10018, 6, 1958, 273, 315, 7716, 6, 1300, 273, 1408, 309, 1241, 18227, 9614, 1697, 11929, 473, 531, 40, 67, 6106, 1706, 8639, 30, 1300, 273, 315, 10016, 2553, 738, 72, 4124, 28385, 4099, 18227, 9614, 6423, 1896, 11929, 309, 1241, 18227, 9614, 1697, 11929, 473, 531, 40, 67, 6106, 1706, 1676, 11265, 30, 1958, 273, 315, 862, 39, 6, 1327, 1241, 18227, 9614, 1697, 11929, 473, 531, 40, 67, 8438, 1676, 11265, 30, 1958, 273, 315, 8552, 6, 977, 273, 2213, 87, 30, 738, 87, 1241, 434, 1958, 738, 87, 9, 87, 1199, 17105, 529, 16, 4743, 16, 1697, 16, 2696, 13, 365, 18, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 14179, 1482, 5190, 12, 2890, 4672, 309, 365, 30, 3170, 273, 365, 18, 812, 23115, 18, 967, 6233, 1435, 309, 3170, 1545, 374, 30, 2742, 273, 365, 18, 812, 23115, 18, 967, 1964, 12, 8109, 13, 4421, 273, 2742, 18, 967, 6233, 1435, 309, 4421, 30, 770, 16, 720, 1016, 273, 4421, 309, 365, 18, 1318, 18, 2520, 3935, 1622, 12, 1615, 4672, 365, 18, 6696, 5190, 18, 20547, 1528, 2932, 1016, 30, 374, 92, 9, 3028, 60, 28385, 1615, 16, 374, 13, 365, 18, 6696, 5190, 18, 20547, 1528, 2932, 1676, 1615, 30, 374, 92, 9, 3103, 60, 28385, 1717, 1016, 16, 404, 13, 1241, 18227, 273, 365, 18, 1318, 18, 967, 1622, 7655, 12, 1615, 13, 2 ]
uni = symbol.GetProposedUnicode()
if not uni: uni = symbol.GetProposedUnicode()
def _WriteNamesList(writer): writer.write(_HEADER) symbols = emoji4unicode.GetSymbolsInProposalSortedByUnicode() prev_subcategory_name = "" for symbol in symbols: code_points = symbol[0] symbol = symbol[1] if symbol.GetUnicode(): continue block_heading = _BLOCK_HEADINGS.get(code_points[0]) if block_heading: writer.write(block_heading) subcategory_name = symbol.subcategory.name if prev_subcategory_name != subcategory_name: writer.write("\n@\t\t%s\n" % subcategory_name) prev_subcategory_name = subcategory_name uni = symbol.GetProposedUnicode() writer.write("%s\t%s\n" % (uni, symbol.GetName())) for line in symbol.GetAnnotations(): writer.write("\t%s\n" % line) writer.write(";\t= e-%s\n" % symbol.id) writer.close()
66aad16897e70434cafa6cd7a8a51dda5b084260 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/3647/66aad16897e70434cafa6cd7a8a51dda5b084260/gen_names_list.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 3067, 1557, 682, 12, 6299, 4672, 2633, 18, 2626, 24899, 7557, 13, 7963, 273, 15638, 24, 9124, 18, 967, 14821, 382, 14592, 11739, 858, 16532, 1435, 2807, 67, 1717, 4743, 67, 529, 273, 1408, 364, 3273, 316, 7963, 30, 981, 67, 4139, 273, 3273, 63, 20, 65, 3273, 273, 3273, 63, 21, 65, 309, 3273, 18, 967, 16532, 13332, 1324, 1203, 67, 19948, 273, 389, 11403, 67, 12458, 1360, 55, 18, 588, 12, 710, 67, 4139, 63, 20, 5717, 309, 1203, 67, 19948, 30, 2633, 18, 2626, 12, 2629, 67, 19948, 13, 720, 4743, 67, 529, 273, 3273, 18, 1717, 4743, 18, 529, 309, 2807, 67, 1717, 4743, 67, 529, 480, 720, 4743, 67, 529, 30, 2633, 18, 2626, 31458, 82, 36, 64, 88, 64, 88, 9, 87, 64, 82, 6, 738, 720, 4743, 67, 529, 13, 2807, 67, 1717, 4743, 67, 529, 273, 720, 4743, 67, 529, 309, 486, 7738, 30, 7738, 273, 3273, 18, 967, 626, 7423, 16532, 1435, 2633, 18, 2626, 27188, 87, 64, 88, 9, 87, 64, 82, 6, 738, 261, 318, 77, 16, 3273, 18, 967, 461, 1435, 3719, 364, 980, 316, 3273, 18, 967, 5655, 13332, 2633, 18, 2626, 31458, 88, 9, 87, 64, 82, 6, 738, 980, 13, 2633, 18, 2626, 2932, 9747, 88, 33, 425, 6456, 87, 64, 82, 6, 738, 3273, 18, 350, 13, 2633, 18, 4412, 1435, 282, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 3067, 1557, 682, 12, 6299, 4672, 2633, 18, 2626, 24899, 7557, 13, 7963, 273, 15638, 24, 9124, 18, 967, 14821, 382, 14592, 11739, 858, 16532, 1435, 2807, 67, 1717, 4743, 67, 529, 273, 1408, 364, 3273, 316, 7963, 30, 981, 67, 4139, 273, 3273, 63, 20, 65, 3273, 273, 3273, 63, 21, 65, 309, 3273, 18, 967, 16532, 13332, 1324, 1203, 67, 19948, 273, 389, 11403, 67, 12458, 1360, 55, 18, 588, 12, 710, 67, 4139, 63, 20, 5717, 309, 1203, 67, 19948, 30, 2633, 18, 2626, 12, 2629, 67, 19948, 13, 720, 4743, 67, 529, 273, 3273, 18, 1717, 4743, 18, 529, 309, 2807, 67, 1717, 4743, 67, 529, 480, 720, 4743, 67, 529, 30, 2633, 2 ]
ReplaceLineInFile( "./nautilussvn/usr/lib/nautilus/extensions-1.0/python/%s/helper.py"%VERSION, 'SOURCE_PATH = "/usr/lib/nautilus/extensions-1.0/python', '\tSOURCE_PATH = "/usr/lib/nautilus/extensions-1.0/python/%s/"\n'%VERSION )
def ReplaceLineInFile(filename, target, subst): """ Replaces lines in *filename* containing *target* with *subst* """ st = open(filename, "r").readlines() out = [] for line in st: if target in line: line = subst out.append(line) f = open(filename, "w") for s in out: f.write(s)
9d1ebf45598c95f5da9ed897f331bdc0639b07db /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/5119/9d1ebf45598c95f5da9ed897f331bdc0639b07db/setup.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 6910, 1670, 382, 812, 12, 3459, 16, 1018, 16, 27750, 4672, 3536, 868, 11350, 2362, 316, 380, 3459, 14, 4191, 380, 3299, 14, 598, 380, 1717, 334, 14, 3536, 384, 273, 1696, 12, 3459, 16, 315, 86, 20387, 896, 3548, 1435, 596, 273, 5378, 364, 980, 316, 384, 30, 309, 1018, 316, 980, 30, 980, 273, 27750, 596, 18, 6923, 12, 1369, 13, 225, 284, 273, 1696, 12, 3459, 16, 315, 91, 7923, 364, 272, 316, 596, 30, 284, 18, 2626, 12, 87, 13, 225, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,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3299, 14, 598, 380, 1717, 334, 14, 3536, 384, 273, 1696, 12, 3459, 16, 315, 86, 20387, 896, 3548, 1435, 596, 273, 5378, 364, 980, 316, 384, 30, 309, 1018, 316, 980, 30, 980, 273, 27750, 596, 18, 6923, 12, 1369, 13, 225, 284, 273, 1696, 12, 3459, 16, 315, 91, 7923, 364, 272, 316, 596, 30, 284, 18, 2626, 12, 87, 13, 225, 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, -100, -100, -100, -100, -100, -100 ]
assert self.curNode.parentNode is None, \ "not all elements have been properly closed" assert self.curNode.documentElement is not None, \ "document does not contain a root element" node = self.curNode.documentElement self.lastEvent[1] = [(END_DOCUMENT, node), None]
self.lastEvent[1] = [(END_DOCUMENT, self.document), None] self.pop()
def endDocument(self): assert self.curNode.parentNode is None, \ "not all elements have been properly closed" assert self.curNode.documentElement is not None, \ "document does not contain a root element" node = self.curNode.documentElement self.lastEvent[1] = [(END_DOCUMENT, node), None] #self.events.append((END_DOCUMENT, self.curNode))
c3bec716342d72e243468dec0c24500c82f6cc20 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8125/c3bec716342d72e243468dec0c24500c82f6cc20/pulldom.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 679, 2519, 12, 2890, 4672, 1815, 365, 18, 1397, 907, 18, 2938, 907, 353, 599, 16, 521, 315, 902, 777, 2186, 1240, 2118, 8214, 4375, 6, 1815, 365, 18, 1397, 907, 18, 5457, 1046, 353, 486, 599, 16, 521, 315, 5457, 1552, 486, 912, 279, 1365, 930, 6, 756, 273, 365, 18, 1397, 907, 18, 5457, 1046, 365, 18, 2722, 1133, 63, 21, 65, 273, 306, 12, 4415, 67, 18450, 16, 756, 3631, 599, 65, 468, 2890, 18, 5989, 18, 6923, 12443, 4415, 67, 18450, 16, 365, 18, 1397, 907, 3719, 2, 0, 0, 0, 0, 0, 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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 679, 2519, 12, 2890, 4672, 1815, 365, 18, 1397, 907, 18, 2938, 907, 353, 599, 16, 521, 315, 902, 777, 2186, 1240, 2118, 8214, 4375, 6, 1815, 365, 18, 1397, 907, 18, 5457, 1046, 353, 486, 599, 16, 521, 315, 5457, 1552, 486, 912, 279, 1365, 930, 6, 756, 273, 365, 18, 1397, 907, 18, 5457, 1046, 365, 18, 2722, 1133, 63, 21, 65, 273, 306, 12, 4415, 67, 18450, 16, 756, 3631, 599, 65, 468, 2890, 18, 5989, 18, 6923, 12443, 4415, 67, 18450, 16, 365, 18, 1397, 907, 3719, 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 ]
sage: magma.get_verbose("Groebner")
sage: magma.get_verbose("Groebner")
def set_verbose(self, type, level): """ Set the verbosity level for a given algorithm, class, etc. in Magma.
c04f0ba44cf1a87c258dee9681bb5f4ba8144212 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9890/c04f0ba44cf1a87c258dee9681bb5f4ba8144212/magma.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 444, 67, 11369, 12, 2890, 16, 618, 16, 1801, 4672, 3536, 1000, 326, 11561, 1801, 364, 279, 864, 4886, 16, 667, 16, 5527, 18, 316, 490, 9454, 18, 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,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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 67, 11369, 12, 2890, 16, 618, 16, 1801, 4672, 3536, 1000, 326, 11561, 1801, 364, 279, 864, 4886, 16, 667, 16, 5527, 18, 316, 490, 9454, 18, 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, -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, -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, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
for plgin in plugins: if plgin['state']: plgin['instance'].onTaskOpened(plugin_api)
for plugin in plugins: if plugin['state'] and plugin['active']: plugin['instance'].onTaskOpened(plugin_api)
def onTaskLoad(self, plugins, plugin_api): for plgin in plugins: if plgin['state']: plgin['instance'].onTaskOpened(plugin_api)
96be349902b71df6bb88acbbfe55dce6d6009afc /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/8234/96be349902b71df6bb88acbbfe55dce6d6009afc/engine.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 603, 2174, 2563, 12, 2890, 16, 4799, 16, 1909,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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 603, 2174, 2563, 12, 2890, 16, 4799, 16, 1909, 67, 2425, 4672, 364, 1909, 316, 4799, 30, 309, 1909, 3292, 2019, 3546, 471, 1909, 3292, 3535, 3546, 30, 1909, 3292, 1336, 29489, 265, 2174, 23115, 12, 4094, 67, 2425, 13, 225, 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, -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, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
def runMythtranscode(chanid, starttime, destination, usecutlist):
def runMythtranscode(chanid, starttime, destination, usecutlist, localfile):
def runMythtranscode(chanid, starttime, destination, usecutlist): """Use mythtrancode to cut commercials and/or clean up an mpeg2 file""" if usecutlist == True: command = "mythtranscode --mpeg2 --honorcutlist -c %s -s %s -o %s" % (chanid, starttime, destination) else: command = "mythtranscode --mpeg2 -c %s -s %s -o %s" % (chanid, starttime, destination) result = runCommand(command) if (result != 0): write("Failed while running mythtranscode to cut commercials and/or clean up an mpeg2 file.\n" "Result: %d, Command was %s" % (result, command)) return False; return True
0ccb616ed01f564244cbf19b355de0d969368ff7 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/13713/0ccb616ed01f564244cbf19b355de0d969368ff7/mythburn.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1086, 12062, 451, 2338, 710, 12, 7472, 350, 16, 23437, 16, 2929, 16, 999, 5150, 1098, 16, 1191, 768, 4672, 3536, 3727, 3399, 451, 13171, 710, 358, 6391, 1543, 12610, 649, 87, 471, 19, 280, 2721, 731, 392, 312, 9001, 22, 585, 8395, 225, 309, 999, 5150, 1098, 422, 1053, 30, 1296, 273, 315, 4811, 451, 2338, 710, 1493, 19951, 22, 1493, 76, 265, 280, 5150, 1098, 300, 71, 738, 87, 300, 87, 738, 87, 300, 83, 738, 87, 6, 738, 261, 7472, 350, 16, 23437, 16, 2929, 13, 469, 30, 1296, 273, 315, 4811, 451, 2338, 710, 1493, 19951, 22, 300, 71, 738, 87, 300, 87, 738, 87, 300, 83, 738, 87, 6, 738, 261, 7472, 350, 16, 23437, 16, 2929, 13, 225, 563, 273, 31933, 12, 3076, 13, 225, 309, 261, 2088, 480, 374, 4672, 1045, 2932, 2925, 1323, 3549, 3399, 451, 2338, 710, 358, 6391, 1543, 12610, 649, 87, 471, 19, 280, 2721, 731, 392, 312, 9001, 22, 585, 8403, 82, 6, 315, 1253, 30, 738, 72, 16, 3498, 1703, 738, 87, 6, 738, 261, 2088, 16, 1296, 3719, 327, 1083, 31, 225, 327, 1053, 225, 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, 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392, 312, 9001, 22, 585, 8395, 225, 309, 999, 5150, 1098, 422, 1053, 30, 1296, 273, 315, 4811, 451, 2338, 710, 1493, 19951, 22, 1493, 76, 265, 280, 5150, 1098, 300, 71, 738, 87, 300, 87, 738, 87, 300, 83, 738, 87, 6, 738, 261, 7472, 350, 16, 23437, 16, 2929, 13, 469, 30, 1296, 273, 315, 4811, 451, 2338, 710, 1493, 19951, 22, 300, 71, 738, 87, 300, 87, 738, 87, 300, 83, 738, 87, 6, 738, 261, 7472, 350, 2 ]
import __main__ __main__.__builtins__.get_transaction=get_transaction
import __builtin__ __builtin__.get_transaction=get_transaction del __builtin__
def free_transaction(_id=thread.get_ident, _t=_t): id = _id() try: del _t[id] except KeyError: pass
3b4b25085e7c2a7af2ede4bc891acf1ead3d116c /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/10048/3b4b25085e7c2a7af2ede4bc891acf1ead3d116c/Transaction.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4843, 67, 7958, 24899, 350, 33, 5930, 18, 588, 67, 6392, 16, 389, 88, 33, 67, 88, 4672, 612, 273, 389, 350, 1435, 775, 30, 1464, 389, 88, 63, 350, 65, 1335, 4999, 30, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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 22398, 316, 326, 981, 30, 1652, 4843, 67, 7958, 24899, 350, 33, 5930, 18, 588, 67, 6392, 16, 389, 88, 33, 67, 88, 4672, 612, 273, 389, 350, 1435, 775, 30, 1464, 389, 88, 63, 350, 65, 1335, 4999, 30, 1342, 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, -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, -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, -100, -100 ]
variable dimensions
variable dimensions; an empty tup;e is returned in the case of a scalar variable
def shape(self): """Return the variable shape, that is, the length of its dimensions. Dataset mode: does not matter.
6f3fb868f05beaa2f5db0f25d55169be03cf3bbb /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9106/6f3fb868f05beaa2f5db0f25d55169be03cf3bbb/pycdf.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2179, 12, 2890, 4672, 3536, 990, 326, 2190, 2179, 16, 716, 353, 16, 326, 769, 434, 2097, 5769, 18, 10778, 1965, 30, 1552, 486, 15177, 18, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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 0, 0, 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, 2179, 12, 2890, 4672, 3536, 990, 326, 2190, 2179, 16, 716, 353, 16, 326, 769, 434, 2097, 5769, 18, 10778, 1965, 30, 1552, 486, 15177, 18, 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, -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, -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, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if option.lower() in self.options('global'): self['global'][option] = self._ifnone(self.get('global',option))
if option.lower() in self.options(glob): self['global'][option] = self._ifnone(self.get(glob,option))
def parse(self): for option in self.boolOptionsGlobal: try: if option.lower() in self.options('global'): try: self['global'][option]=self.getboolean('global',option) except ValueError: print >> sys.stderr, u"""failed to parse option %s in \
830769e8183a1ce27956e236ff478b0b2d4e4fdc /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/1664/830769e8183a1ce27956e236ff478b0b2d4e4fdc/rssdler.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1109, 12, 2890, 4672, 364, 1456, 316, 365, 18, 6430, 1320, 5160, 30, 775, 30, 309, 1456, 18, 8167, 1435, 316, 365, 18, 2116, 2668, 6347, 11, 4672, 775, 30, 365, 3292, 6347, 3546, 63, 3482, 65, 33, 2890, 18, 588, 6494, 2668, 6347, 2187, 3482, 13, 1335, 2068, 30, 1172, 1671, 2589, 18, 11241, 16, 582, 8395, 7307, 358, 1109, 1456, 738, 87, 316, 521, 2, 0, 0, 0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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1109, 12, 2890, 4672, 364, 1456, 316, 365, 18, 6430, 1320, 5160, 30, 775, 30, 309, 1456, 18, 8167, 1435, 316, 365, 18, 2116, 2668, 6347, 11, 4672, 775, 30, 365, 3292, 6347, 3546, 63, 3482, 65, 33, 2890, 18, 588, 6494, 2668, 6347, 2187, 3482, 13, 1335, 2068, 30, 1172, 1671, 2589, 18, 11241, 16, 582, 8395, 7307, 358, 1109, 1456, 738, 87, 316, 521, 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, -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 ]
if self.vnc_alive:
if self.use_vnc_server and self.vnc_alive:
def wait(self, timeout=None): ''' Wrap the call to wait in logic that kills the VNC server when we are done waiting. During normal operation, wait is the last thing. In the keyboard interrupt case wait will die due to the interrupt and stop/kill will be killed. Since we are wrapping wait, we don't need to specialize for stop/kill though. ''' try: return mozrunner.ThunderbirdRunner.wait(self, timeout) finally: try: if self.vnc_alive: subprocess.check_call([self.VNC_SERVER_PATH, '-kill', ':99']) except Exception, ex: print '!!! Exception during killing VNC server:', ex
1267abaeedc9b07419ab317fc906738f35d536fc /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/11044/1267abaeedc9b07419ab317fc906738f35d536fc/runtest.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2529, 12, 2890, 16, 2021, 33, 7036, 4672, 9163, 4266, 326, 745, 358, 2529, 316, 4058, 716, 8673, 87, 326, 776, 10346, 1438, 1347, 732, 854, 2731, 7336, 18, 225, 463, 4017, 2212, 1674, 16, 2529, 353, 326, 1142, 7757, 18, 225, 657, 326, 16263, 13123, 648, 2529, 903, 10387, 6541, 358, 326, 13123, 471, 2132, 19, 16418, 903, 506, 24859, 18, 225, 7897, 732, 854, 14702, 2529, 16, 732, 2727, 1404, 1608, 358, 857, 1710, 364, 2132, 19, 16418, 11376, 18, 9163, 775, 30, 327, 7344, 94, 18156, 18, 1315, 9341, 31245, 9709, 18, 7048, 12, 2890, 16, 2021, 13, 3095, 30, 775, 30, 309, 365, 18, 1202, 67, 90, 14202, 67, 3567, 471, 365, 18, 90, 14202, 67, 11462, 30, 6652, 18, 1893, 67, 1991, 3816, 2890, 18, 58, 10346, 67, 4370, 67, 4211, 16, 2400, 16418, 2187, 4290, 2733, 19486, 1335, 1185, 16, 431, 30, 1172, 296, 25885, 1185, 4982, 417, 5789, 776, 10346, 1438, 30, 2187, 431, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 2529, 12, 2890, 16, 2021, 33, 7036, 4672, 9163, 4266, 326, 745, 358, 2529, 316, 4058, 716, 8673, 87, 326, 776, 10346, 1438, 1347, 732, 854, 2731, 7336, 18, 225, 463, 4017, 2212, 1674, 16, 2529, 353, 326, 1142, 7757, 18, 225, 657, 326, 16263, 13123, 648, 2529, 903, 10387, 6541, 358, 326, 13123, 471, 2132, 19, 16418, 903, 506, 24859, 18, 225, 7897, 732, 854, 14702, 2529, 16, 732, 2727, 1404, 1608, 358, 857, 1710, 364, 2132, 19, 16418, 11376, 18, 9163, 775, 30, 327, 7344, 94, 18156, 18, 1315, 9341, 31245, 9709, 18, 7048, 12, 2890, 16, 2021, 13, 3095, 30, 775, 30, 309, 365, 18, 1202, 67, 90, 14202, 67, 3567, 471, 365, 18, 90, 2 ]
print 'usage: %s inspector_html devtools_html css_and_js_files_list' % argv[0]
print('usage: %s ignored inspector_html devtools_html' ' css_and_js_files_list' % argv[0])
def main(argv): if len(argv) < 4: print 'usage: %s inspector_html devtools_html css_and_js_files_list' % argv[0] return 1 inspector_html_name = argv[1] devtools_html_name = argv[2] inspector_html = open(inspector_html_name, 'r') devtools_html = open(devtools_html_name, 'w') for line in inspector_html: if '</head>' in line: devtools_html.write('\n <!-- The following lines are added to include DevTools resources -->\n') for resource in argv[3:]: devtools_html.write(GenerateIncludeTag(resource)) devtools_html.write(' <!-- End of auto-added files list -->\n') devtools_html.write(line) devtools_html.close() inspector_html.close() # Touch output file directory to make sure that Xcode will copy # modified resource files. if sys.platform == 'darwin': output_dir_name = os.path.dirname(devtools_html_name) os.utime(output_dir_name, None)
f54d1fe210e3b03b65b61bff6cdce08b8fbc10e5 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/5060/f54d1fe210e3b03b65b61bff6cdce08b8fbc10e5/generate_devtools_html.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2774, 12, 19485, 4672, 225, 309, 562, 12, 19485, 13, 411, 1059, 30, 1172, 2668, 9167, 30, 738, 87, 5455, 22700, 67, 2620, 4461, 6642, 67, 2620, 11, 296, 3747, 67, 464, 67, 2924, 67, 2354, 67, 1098, 11, 738, 5261, 63, 20, 5717, 327, 404, 225, 22700, 67, 2620, 67, 529, 273, 5261, 63, 21, 65, 4461, 6642, 67, 2620, 67, 529, 273, 5261, 63, 22, 65, 22700, 67, 2620, 273, 1696, 12, 12009, 280, 67, 2620, 67, 529, 16, 296, 86, 6134, 4461, 6642, 67, 2620, 273, 1696, 12, 5206, 6642, 67, 2620, 67, 529, 16, 296, 91, 6134, 225, 364, 980, 316, 22700, 67, 2620, 30, 309, 4357, 1978, 1870, 316, 980, 30, 4461, 6642, 67, 2620, 18, 2626, 2668, 64, 82, 565, 5719, 413, 1021, 3751, 2362, 854, 3096, 358, 2341, 9562, 10348, 2703, 1493, 5333, 82, 6134, 364, 1058, 316, 5261, 63, 23, 30, 14542, 4461, 6642, 67, 2620, 18, 2626, 12, 4625, 8752, 1805, 12, 3146, 3719, 4461, 6642, 67, 2620, 18, 2626, 2668, 565, 5719, 413, 4403, 434, 3656, 17, 9665, 1390, 666, 1493, 5333, 82, 6134, 4461, 6642, 67, 2620, 18, 2626, 12, 1369, 13, 225, 4461, 6642, 67, 2620, 18, 4412, 1435, 22700, 67, 2620, 18, 4412, 1435, 225, 468, 24974, 876, 585, 1867, 358, 1221, 3071, 716, 1139, 710, 903, 1610, 468, 4358, 1058, 1390, 18, 309, 2589, 18, 9898, 422, 296, 28076, 4278, 876, 67, 1214, 67, 529, 273, 1140, 18, 803, 18, 12287, 12, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 309, 562, 12, 19485, 13, 411, 1059, 30, 1172, 2668, 9167, 30, 738, 87, 5455, 22700, 67, 2620, 4461, 6642, 67, 2620, 11, 296, 3747, 67, 464, 67, 2924, 67, 2354, 67, 1098, 11, 738, 5261, 63, 20, 5717, 327, 404, 225, 22700, 67, 2620, 67, 529, 273, 5261, 63, 21, 65, 4461, 6642, 67, 2620, 67, 529, 273, 5261, 63, 22, 65, 22700, 67, 2620, 273, 1696, 12, 12009, 280, 67, 2620, 67, 529, 16, 296, 86, 6134, 4461, 6642, 67, 2620, 273, 1696, 12, 5206, 6642, 67, 2620, 67, 529, 16, 296, 91, 6134, 225, 364, 980, 316, 22700, 67, 2620, 30, 309, 4357, 1978, 1870, 316, 980, 30, 4461, 6642, 2 ]
def __sendData( self, acRegister, secsTimeout = 30 ):
def __sendData( self, acRegister, secsTimeout = 60 ):
def __sendData( self, acRegister, secsTimeout = 30 ): if not self.enabled: return if gServiceInterface.serviceRunning(): rpcClient = gServiceInterface else: rpcClient = RPCClient( "Monitoring/Server", timeout = secsTimeout ) #Send registrations if not self.__sendRegistration( rpcClient ): return False #Send marks maxIteration = 5 if self.__sendMarks( rpcClient ) and maxIteration: maxIteration -= 1 if not self.__sendRegistration( rpcClient ): return False
c7114d3880eb02e348aa77c3ddebde54af35d830 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/12864/c7114d3880eb02e348aa77c3ddebde54af35d830/MonitoringClient.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 4661, 751, 12, 365, 16, 1721, 3996, 16, 18043, 2694, 273, 4752, 262, 30, 309, 486, 365, 18, 5745, 30, 327, 309, 314, 18348, 18, 3278, 7051, 13332, 6724, 1227, 273, 314, 18348, 469, 30, 6724, 1227, 273, 8295, 1227, 12, 315, 18410, 19, 2081, 3113, 2021, 273, 18043, 2694, 262, 468, 3826, 28620, 309, 486, 365, 16186, 4661, 7843, 12, 6724, 1227, 262, 30, 327, 1083, 468, 3826, 13999, 943, 10795, 273, 1381, 309, 365, 16186, 4661, 20981, 12, 6724, 1227, 262, 471, 943, 10795, 30, 943, 10795, 3947, 404, 309, 486, 365, 16186, 4661, 7843, 12, 6724, 1227, 262, 30, 327, 1083, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 4661, 751, 12, 365, 16, 1721, 3996, 16, 18043, 2694, 273, 4752, 262, 30, 309, 486, 365, 18, 5745, 30, 327, 309, 314, 18348, 18, 3278, 7051, 13332, 6724, 1227, 273, 314, 18348, 469, 30, 6724, 1227, 273, 8295, 1227, 12, 315, 18410, 19, 2081, 3113, 2021, 273, 18043, 2694, 262, 468, 3826, 28620, 309, 486, 365, 16186, 4661, 7843, 12, 6724, 1227, 262, 30, 327, 1083, 468, 3826, 13999, 943, 10795, 273, 1381, 309, 365, 16186, 4661, 20981, 12, 6724, 1227, 262, 471, 943, 10795, 30, 943, 10795, 3947, 404, 309, 486, 365, 16186, 4661, 7843, 12, 6724, 1227, 262, 30, 327, 1083, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
_tryorder = ("netscape", "windows-default")
_tryorder = ["netscape", "windows-default"]
def open_new(self, url): self.open(url)
5b6096260bd3180a45541b4425e1cc7d377bf08f /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8125/5b6096260bd3180a45541b4425e1cc7d377bf08f/webbrowser.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1696, 67, 2704, 12, 2890, 16, 880, 4672, 365, 18, 3190, 12, 718, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 2704, 12, 2890, 16, 880, 4672, 365, 18, 3190, 12, 718, 13, 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, -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, -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, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
dec_flags, next_input, decoded_chars = self._snapshot
dec_flags, next_input = self._snapshot
def tell(self): if not self._seekable: raise IOError("underlying stream is not seekable") if not self._telling: raise IOError("telling position disabled by next() call") self.flush() position = self.buffer.tell() decoder = self._decoder if decoder is None or self._snapshot is None: if self._decoded_text: # This should never happen. raise AssertionError("pending decoded text") return position
2e00b1ed3eaf2ada4c0cb16b188516bd10ad5f0c /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/8125/2e00b1ed3eaf2ada4c0cb16b188516bd10ad5f0c/io.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 9276, 12, 2890, 4672, 309, 486, 365, 6315, 16508, 429, 30, 1002, 8340, 2932, 9341, 6291, 1407, 353, 486, 6520, 429, 7923, 309, 486, 365, 6315, 88, 1165, 310, 30, 1002, 8340, 2932, 88, 1165, 310, 1754, 5673, 635, 1024, 1435, 745, 7923, 365, 18, 11330, 1435, 1754, 273, 365, 18, 4106, 18, 88, 1165, 1435, 8320, 273, 365, 6315, 21070, 309, 8320, 353, 599, 578, 365, 6315, 11171, 353, 599, 30, 309, 365, 6315, 26646, 67, 955, 30, 468, 1220, 1410, 5903, 5865, 18, 1002, 12068, 2932, 9561, 6383, 977, 7923, 327, 1754, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,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754, 5673, 635, 1024, 1435, 745, 7923, 365, 18, 11330, 1435, 1754, 273, 365, 18, 4106, 18, 88, 1165, 1435, 8320, 273, 365, 6315, 21070, 309, 8320, 353, 599, 578, 365, 6315, 11171, 353, 599, 30, 309, 365, 6315, 26646, 67, 955, 30, 468, 1220, 1410, 5903, 5865, 18, 1002, 12068, 2932, 9561, 6383, 977, 7923, 327, 1754, 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 ]
'version': None
'version': None, 'description_change': None
def _process_newticket_request(self, req): context = Context(self.env, req)('ticket') req.perm.require('TICKET_CREATE')
4b325501b62417636d47491d39e6a4729b660a33 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/9317/4b325501b62417636d47491d39e6a4729b660a33/web_ui.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 2567, 67, 2704, 16282, 67, 2293, 12, 2890, 16, 1111, 4672, 819, 273, 1772, 12, 2890, 18, 3074, 16, 1111, 13, 2668, 16282, 6134, 1111, 18, 12160, 18, 6528, 2668, 56, 16656, 1584, 67, 9344, 6134, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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 2704, 16282, 67, 2293, 12, 2890, 16, 1111, 4672, 819, 273, 1772, 12, 2890, 18, 3074, 16, 1111, 13, 2668, 16282, 6134, 1111, 18, 12160, 18, 6528, 2668, 56, 16656, 1584, 67, 9344, 6134, 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, -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, -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 ]
if (type(v) == type('string')):
if (not isinstance(k, str) or len(k) < 1 or k == ' '): del self.definitions[k] elif (type(v) == type('string')):
def __init__(self): """ Constructor """ irclib.irc.__init__(self) getenv = os.environ.get
15941805d1c75aa8dcebe12a214553ed4b49b1fb /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9641/15941805d1c75aa8dcebe12a214553ed4b49b1fb/jibot.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 4672, 3536, 11417, 3536, 9482, 830, 495, 18, 481, 71, 16186, 2738, 972, 12, 2890, 13, 11740, 273, 1140, 18, 28684, 18, 588, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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 0, 0, 0, 0, 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, 4672, 3536, 11417, 3536, 9482, 830, 495, 18, 481, 71, 16186, 2738, 972, 12, 2890, 13, 11740, 273, 1140, 18, 28684, 18, 588, 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, -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, -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, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if DEBUG or 1:
if DEBUG:
def run(self): while 1: if self.mode == 'idle': self.mode_flag.wait() self.mode_flag.clear()
3d62472338ec2210958370a10e1de3c4681aa9ef /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/11399/3d62472338ec2210958370a10e1de3c4681aa9ef/xine.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1086, 12, 2890, 4672, 1323, 404, 30, 309, 365, 18, 3188, 422, 296, 20390, 4278, 365, 18, 3188, 67, 6420, 18, 7048, 1435, 365, 18, 3188, 67, 6420, 18, 8507, 1435, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1086, 12, 2890, 4672, 1323, 404, 30, 309, 365, 18, 3188, 422, 296, 20390, 4278, 365, 18, 3188, 67, 6420, 18, 7048, 1435, 365, 18, 3188, 67, 6420, 18, 8507, 1435, 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, -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, -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, -100, -100, -100, -100, -100, -100 ]
'OWNERDN': dynamic_util.cl_ownerdn(),
'OWNERDN': self.dynamic_util.cl_ownerdn(),
def _cl_task_meta_message(self): j = self.job_info # called on client, so job_info is Job object exec self.importDynamicUtil() msg = { 'APPLICATION': LCGAthenaUtil.cl_application(j), # e.g. ATHENA 'APPLICATIONVERSION': LCGAthenaUtil.cl_application_version(j), # e.g. 15.5.1 'INPUTDATASET': LCGAthenaUtil.cl_input_dataset(j), # e.g. fdr08_run2.0052283.physics_Muon.merge.AOD.o3_f8_m10 'JSTOOL': 'Ganga', # e.g. Ganga, Panda 'JSTOOLUI': LCGAthenaUtil.cl_jstoolui(), # hostname of client. e.g. lxplus246.cern.ch 'OUTPUTDATASET': LCGAthenaUtil.cl_output_dataset(j),# Unknown at submission. e.g. user09.DavidTuckett.ganga.420.20091125.FZK-LCG2_SCRATCHDISK 'OUTPUTSE': LCGAthenaUtil.cl_output_se(j), # Unknown at submission. e.g. FZK-LCG2_SCRATCHDISK 'OWNERDN': dynamic_util.cl_ownerdn(), # Grid certificate. e.g. /DC=ch/DC=cern/OU=Organic Units/OU=Users/CN=dtuckett/CN=671431/CN=David Tuckett/CN=proxy 'REPORTER': 'ToolUI', # e.g. ToolUI, JobWN 'REPORTTIME': CommonUtil.utcnow(), # e.g. 2009-11-25T14:59:24.754249Z 'SUBMISSIONTYPE': 'direct', 'TARGET': LCGAthenaUtil.cl_target(j), # e.g. CE_xxx,SITE_CSCS-LCG2_DATADISK,SITE_DESY-ZN_DATADISK 'TASKNAME': dynamic_util.cl_task_name(j), # e.g. ganga:6702b50a-8a31-4476-8189-62ea5b8e00b3:TrigStudy 'TASKTYPE': LCGAthenaUtil.cl_task_type(self.config_info), # e.g. analysis, production, hammercloud etc. '___fqid' : j.fqid, } return msg
8fc5b0bc368c704c04aaa9d01d8fe3d1ee85b726 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/1488/8fc5b0bc368c704c04aaa9d01d8fe3d1ee85b726/AthenaMS.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 830, 67, 4146, 67, 3901, 67, 2150, 12, 2890, 4672, 525, 273, 365, 18, 4688, 67, 1376, 468, 2566, 603, 1004, 16, 1427, 1719, 67, 1376, 353, 3956, 733, 1196, 365, 18, 5666, 9791, 1304, 1435, 1234, 273, 288, 296, 25039, 4278, 511, 20585, 37, 15991, 69, 1304, 18, 830, 67, 3685, 12, 78, 3631, 468, 425, 18, 75, 18, 432, 2455, 1157, 37, 296, 25039, 5757, 4278, 511, 20585, 37, 15991, 69, 1304, 18, 830, 67, 3685, 67, 1589, 12, 78, 3631, 468, 425, 18, 75, 18, 4711, 18, 25, 18, 21, 296, 15934, 4883, 4043, 4278, 511, 20585, 37, 15991, 69, 1304, 18, 830, 67, 2630, 67, 8682, 12, 78, 3631, 468, 425, 18, 75, 18, 284, 3069, 6840, 67, 2681, 22, 18, 28564, 3787, 10261, 18, 844, 1900, 2102, 67, 12982, 265, 18, 2702, 18, 37, 1212, 18, 83, 23, 67, 74, 28, 67, 81, 2163, 296, 46, 31487, 1741, 4278, 296, 43, 539, 69, 2187, 468, 425, 18, 75, 18, 611, 539, 69, 16, 453, 464, 69, 296, 46, 31487, 1741, 5370, 4278, 511, 20585, 37, 15991, 69, 1304, 18, 830, 67, 78, 334, 1371, 4881, 9334, 468, 5199, 434, 1004, 18, 425, 18, 75, 18, 15855, 10103, 3247, 26, 18, 14770, 18, 343, 296, 15527, 4883, 4043, 4278, 511, 20585, 37, 15991, 69, 1304, 18, 830, 67, 2844, 67, 8682, 12, 78, 3631, 7, 9077, 622, 8515, 18, 425, 18, 75, 18, 729, 5908, 18, 40, 842, 350, 56, 1809, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 830, 67, 4146, 67, 3901, 67, 2150, 12, 2890, 4672, 525, 273, 365, 18, 4688, 67, 1376, 468, 2566, 603, 1004, 16, 1427, 1719, 67, 1376, 353, 3956, 733, 1196, 365, 18, 5666, 9791, 1304, 1435, 1234, 273, 288, 296, 25039, 4278, 511, 20585, 37, 15991, 69, 1304, 18, 830, 67, 3685, 12, 78, 3631, 468, 425, 18, 75, 18, 432, 2455, 1157, 37, 296, 25039, 5757, 4278, 511, 20585, 37, 15991, 69, 1304, 18, 830, 67, 3685, 67, 1589, 12, 78, 3631, 468, 425, 18, 75, 18, 4711, 18, 25, 18, 21, 296, 15934, 4883, 4043, 4278, 511, 20585, 37, 15991, 69, 1304, 18, 830, 67, 2630, 67, 8682, 12, 78, 3631, 468, 425, 18, 75, 2 ]
alignments=200, e=0.0001)
alignments=200, e=0.0001)
def test_TemplateSearcher(self):
d1d0f0dde1db9aab3ed06b90b829e6ce5f0be3a0 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/482/d1d0f0dde1db9aab3ed06b90b829e6ce5f0be3a0/TemplateSearcher.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 67, 2283, 2979, 264, 12, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1842, 67, 2283, 2979, 264, 12, 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, -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, -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, -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, -100, -100, -100, -100 ]
self.parser.parseError()
self.parser.parseError(_(u"Unexpected start tag token (" + name +\ u") in the after body phase."))
def processStartTag(self, name, attributes): self.parser.parseError() self.parser.phase = self.parser.phases["inBody"] self.parser.phase.processStartTag(name, attributes)
ada0ac37dde0996bf794a42d6e0bceb3097dbbd7 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/9368/ada0ac37dde0996bf794a42d6e0bceb3097dbbd7/html5parser.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1207, 30512, 12, 2890, 16, 508, 16, 1677, 4672, 365, 18, 4288, 18, 2670, 668, 24899, 12, 89, 6, 7762, 787, 1047, 1147, 7566, 397, 508, 397, 64, 582, 7923, 316, 326, 1839, 1417, 6855, 1199, 3719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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1207, 30512, 12, 2890, 16, 508, 16, 1677, 4672, 365, 18, 4288, 18, 2670, 668, 24899, 12, 89, 6, 7762, 787, 1047, 1147, 7566, 397, 508, 397, 64, 582, 7923, 316, 326, 1839, 1417, 6855, 1199, 3719, 365, 18, 4288, 18, 13961, 273, 365, 18, 4288, 18, 844, 3304, 9614, 267, 2250, 11929, 365, 18, 4288, 18, 13961, 18, 2567, 30512, 12, 529, 16, 1677, 13, 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, -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 ]
return None
return (None, [])
def ApplyDirectoryRules(existing_rules, dir_name): """Combines rules from the existing rules and the new directory. Any directory can contain a DEPS file. Toplevel DEPS files can contain module dependencies which are used by gclient. We use these, along with additional include rules and implicit rules for the given directory, to come up with a combined set of rules to apply for the directory. Args: existing_rules: The rules for the parent directory. We'll add-on to these. dir_name: The directory name that the deps file may live in (if it exists). This will also be used to generate the implicit rules. Returns: The combined set of rules to apply to the sub-tree. """ # Check for a .svn directory in this directory. This will tell us if it's # a source directory and should be checked. if not os.path.exists(os.path.join(dir_name, ".svn")): return None # Check the DEPS file in this directory. if VERBOSE: print "Applying rules from", dir_name def FromImpl(unused): pass # NOP function so "From" doesn't fail. scope = {"From": FromImpl} deps_file = os.path.join(dir_name, "DEPS") if not os.path.exists(deps_file): if VERBOSE: print " No deps file found in", dir_name return existing_rules # Nothing to change from the input rules. execfile(deps_file, scope) # Check the "skip" flag to see if we should check this directory at all. if scope.get(SKIP_VAR_NAME): if VERBOSE: print " Deps file specifies skipping this directory." return None deps = scope.get(DEPS_VAR_NAME, {}) include_rules = scope.get(INCLUDE_RULES_VAR_NAME, []) return ApplyRules(existing_rules, deps, include_rules, dir_name)
f3bb0346579cd4eb431c45e43041e139876015e8 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9392/f3bb0346579cd4eb431c45e43041e139876015e8/checkdeps.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 5534, 2853, 4478, 12, 11711, 67, 7482, 16, 1577, 67, 529, 4672, 3536, 11328, 1465, 2931, 628, 326, 2062, 2931, 471, 326, 394, 1867, 18, 225, 5502, 1867, 848, 912, 279, 2030, 5857, 585, 18, 7202, 2815, 2030, 5857, 1390, 848, 912, 1605, 5030, 1492, 854, 1399, 635, 314, 2625, 18, 1660, 999, 4259, 16, 7563, 598, 3312, 2341, 2931, 471, 10592, 2931, 364, 326, 864, 1867, 16, 358, 12404, 731, 598, 279, 8224, 444, 434, 2931, 358, 2230, 364, 326, 1867, 18, 225, 6634, 30, 2062, 67, 7482, 30, 1021, 2931, 364, 326, 982, 1867, 18, 1660, 5614, 527, 17, 265, 358, 4259, 18, 1577, 67, 529, 30, 1021, 1867, 508, 716, 326, 8740, 585, 2026, 8429, 316, 261, 430, 518, 1704, 2934, 1220, 903, 2546, 506, 1399, 358, 2103, 326, 10592, 2931, 18, 225, 2860, 30, 1021, 8224, 444, 434, 2931, 358, 2230, 358, 326, 720, 17, 3413, 18, 3536, 468, 2073, 364, 279, 263, 31505, 1867, 316, 333, 1867, 18, 1220, 903, 9276, 584, 309, 518, 1807, 468, 279, 1084, 1867, 471, 1410, 506, 5950, 18, 309, 486, 1140, 18, 803, 18, 1808, 12, 538, 18, 803, 18, 5701, 12, 1214, 67, 529, 16, 3552, 31505, 6, 3719, 30, 327, 261, 7036, 16, 5378, 13, 225, 468, 2073, 326, 2030, 5857, 585, 316, 333, 1867, 18, 309, 27857, 30, 1172, 315, 7001, 310, 2931, 628, 3113, 1577, 67, 529, 1652, 6338, 2828, 12, 14375, 4672, 1342, 225, 468, 423, 3665, 445, 1427, 315, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5534, 2853, 4478, 12, 11711, 67, 7482, 16, 1577, 67, 529, 4672, 3536, 11328, 1465, 2931, 628, 326, 2062, 2931, 471, 326, 394, 1867, 18, 225, 5502, 1867, 848, 912, 279, 2030, 5857, 585, 18, 7202, 2815, 2030, 5857, 1390, 848, 912, 1605, 5030, 1492, 854, 1399, 635, 314, 2625, 18, 1660, 999, 4259, 16, 7563, 598, 3312, 2341, 2931, 471, 10592, 2931, 364, 326, 864, 1867, 16, 358, 12404, 731, 598, 279, 8224, 444, 434, 2931, 358, 2230, 364, 326, 1867, 18, 225, 6634, 30, 2062, 67, 7482, 30, 1021, 2931, 364, 326, 982, 1867, 18, 1660, 5614, 527, 17, 265, 358, 4259, 18, 1577, 67, 529, 30, 1021, 1867, 508, 716, 326, 8740, 585, 2026, 8429, 2 ]
nuninst[arch] = nuninst_comp[arch][:]
nuninst[arch] = [x for x in nuninst_comp[arch] if x in binaries[arch][0]]
def iter_packages(self, packages, output): extra = [] nuninst_comp = self.get_nuninst()
ffeddc471d8a477df144d4e513c8a8dae814240b /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/ffeddc471d8a477df144d4e513c8a8dae814240b/britney.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1400, 67, 10308, 12, 2890, 16, 5907, 16, 876, 4672, 2870, 273, 5378, 290, 318, 8591, 67, 2919, 273, 365, 18, 588, 67, 82, 318, 8591, 1435, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1400, 67, 10308, 12, 2890, 16, 5907, 16, 876, 4672, 2870, 273, 5378, 290, 318, 8591, 67, 2919, 273, 365, 18, 588, 67, 82, 318, 8591, 1435, 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, -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, -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, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
this = apply(_quickfix.new_DiscretionMoveType, args)
this = _quickfix.new_DiscretionMoveType(*args)
def __init__(self, *args): this = apply(_quickfix.new_DiscretionMoveType, args) try: self.this.append(this) except: self.this = this
7e632099fd421880c8c65fb0cf610d338d115ee9 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/8819/7e632099fd421880c8c65fb0cf610d338d115ee9/quickfix.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 380, 1968, 4672, 333, 273, 389, 19525, 904, 18, 2704, 67, 28912, 1349, 285, 7607, 559, 30857, 1968, 13, 775, 30, 365, 18, 2211, 18, 6923, 12, 2211, 13, 1335, 30, 365, 18, 2211, 273, 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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 380, 1968, 4672, 333, 273, 389, 19525, 904, 18, 2704, 67, 28912, 1349, 285, 7607, 559, 30857, 1968, 13, 775, 30, 365, 18, 2211, 18, 6923, 12, 2211, 13, 1335, 30, 365, 18, 2211, 273, 333, 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, -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, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
name="bend span %i-%i-%i (%s)" % (id + (tag,)),
name="bend span %i-%i-%i" % id,
def add_bend_spans(self, criteria_sets): """ Adds the distances that span the bend angles described in criteria_sets to the collection. """ result = dict((tag, []) for tag in criteria_sets.yield_tags()) for tag, match in self.molecular_graph.yield_subgraphs(criteria_sets): id = tuple([match.get_destination(source) for source in [0, 1, 2]]) s0 = self.add(Select, id[0]) s2 = self.add(Select, id[2]) e = self.add(Delta, s0, s2) d = self.add( Distance, e, name="bend span %i-%i-%i (%s)" % (id + (tag,)), id=id ) self.add_internal_coordinate(tag, d)
1688fd6453a932f4536672a83da72a51dfe1e12e /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/11053/1688fd6453a932f4536672a83da72a51dfe1e12e/internal_coordinates.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 527, 67, 70, 409, 67, 30885, 12, 2890, 16, 3582, 67, 4424, 4672, 3536, 15605, 326, 12491, 716, 4548, 326, 324, 409, 15479, 11893, 316, 3582, 67, 4424, 358, 326, 1849, 18, 3536, 563, 273, 2065, 12443, 2692, 16, 5378, 13, 364, 1047, 316, 3582, 67, 4424, 18, 23604, 67, 4156, 10756, 364, 1047, 16, 845, 316, 365, 18, 81, 23693, 67, 4660, 18, 23604, 67, 1717, 30016, 12, 9714, 67, 4424, 4672, 612, 273, 3193, 3816, 1916, 18, 588, 67, 10590, 12, 3168, 13, 364, 1084, 316, 306, 20, 16, 404, 16, 576, 65, 5717, 272, 20, 273, 365, 18, 1289, 12, 3391, 16, 612, 63, 20, 5717, 272, 22, 273, 365, 18, 1289, 12, 3391, 16, 612, 63, 22, 5717, 425, 273, 365, 18, 1289, 12, 9242, 16, 272, 20, 16, 272, 22, 13, 302, 273, 365, 18, 1289, 12, 20335, 16, 425, 16, 508, 1546, 70, 409, 4548, 738, 77, 6456, 77, 6456, 77, 6, 738, 612, 16, 612, 33, 350, 262, 365, 18, 1289, 67, 7236, 67, 29191, 12, 2692, 16, 302, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 0, 0, 0, 0, 0, 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, 527, 67, 70, 409, 67, 30885, 12, 2890, 16, 3582, 67, 4424, 4672, 3536, 15605, 326, 12491, 716, 4548, 326, 324, 409, 15479, 11893, 316, 3582, 67, 4424, 358, 326, 1849, 18, 3536, 563, 273, 2065, 12443, 2692, 16, 5378, 13, 364, 1047, 316, 3582, 67, 4424, 18, 23604, 67, 4156, 10756, 364, 1047, 16, 845, 316, 365, 18, 81, 23693, 67, 4660, 18, 23604, 67, 1717, 30016, 12, 9714, 67, 4424, 4672, 612, 273, 3193, 3816, 1916, 18, 588, 67, 10590, 12, 3168, 13, 364, 1084, 316, 306, 20, 16, 404, 16, 576, 65, 5717, 272, 20, 273, 365, 18, 1289, 12, 3391, 16, 612, 63, 20, 5717, 272, 22, 273, 365, 18, 1289, 12, 3391, 16, 2 ]
columns = ["login", "name"]
def _list(self): try: users = self.userconn.users() columns = ["login", "name"] if not len(users): print _("No users available to list") sys.exit(0) print "+-------------------------------------------+" print " Available Users " print "+-------------------------------------------+" for user in users: print constants.AVAILABLE_USERS_LIST % (user["login"], user["name"]) except RestlibException, re: log.error("Error: %s" % re) systemExit(re.code, re.msg) except Exception, e: log.error("Error: %s" % e) raise
f392f716f136a9fbd21821bb5e26256a7a3b87cd /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/10692/f392f716f136a9fbd21821bb5e26256a7a3b87cd/core_user.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 1098, 12, 2890, 4672, 775, 30, 3677, 273, 365, 18, 1355, 4646, 18, 5577, 1435, 309, 486, 562, 12, 5577, 4672, 1172, 389, 2932, 2279, 3677, 2319, 358, 666, 7923, 2589, 18, 8593, 12, 20, 13, 1172, 13773, 2443, 13849, 9078, 1172, 315, 2398, 15633, 12109, 1171, 315, 1172, 13773, 2443, 13849, 9078, 364, 729, 316, 3677, 30, 1172, 6810, 18, 23222, 67, 30846, 67, 7085, 738, 261, 1355, 9614, 5819, 6, 6487, 729, 9614, 529, 6, 5717, 1335, 6320, 2941, 503, 16, 283, 30, 613, 18, 1636, 2932, 668, 30, 738, 87, 6, 738, 283, 13, 2619, 6767, 12, 266, 18, 710, 16, 283, 18, 3576, 13, 1335, 1185, 16, 425, 30, 613, 18, 1636, 2932, 668, 30, 738, 87, 6, 738, 425, 13, 1002, 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,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, 326, 22398, 316, 326, 981, 30, 1652, 389, 1098, 12, 2890, 4672, 775, 30, 3677, 273, 365, 18, 1355, 4646, 18, 5577, 1435, 309, 486, 562, 12, 5577, 4672, 1172, 389, 2932, 2279, 3677, 2319, 358, 666, 7923, 2589, 18, 8593, 12, 20, 13, 1172, 13773, 2443, 13849, 9078, 1172, 315, 2398, 15633, 12109, 1171, 315, 1172, 13773, 2443, 13849, 9078, 364, 729, 316, 3677, 30, 1172, 6810, 18, 23222, 67, 30846, 67, 7085, 738, 261, 1355, 9614, 5819, 6, 6487, 729, 9614, 529, 6, 5717, 1335, 6320, 2941, 503, 16, 283, 30, 613, 18, 1636, 2932, 668, 30, 738, 87, 6, 738, 283, 13, 2619, 6767, 12, 266, 18, 710, 16, 283, 18, 3576, 13, 1335, 1185, 16, 425, 30, 613, 18, 1636, 2932, 2 ]
envelope = write_multipart(output)
envelope = write_multipart(output, boundary=boundary)
def dump_db(dburl, username=None, password=None, boundary=None, output=sys.stdout): db = Database(dburl) if username is not None and password is not None: db.resource.http.add_credentials(username, password) envelope = write_multipart(output) for docid in db: doc = db.get(docid, attachments=True) print>>sys.stderr, 'Dumping document %r' % doc.id attachments = doc.pop('_attachments', {}) jsondoc = json.encode(doc) if attachments: parts = envelope.open({ 'Content-ID': doc.id, 'ETag': '"%s"' % doc.rev }) parts.add('application/json', jsondoc) for name, info in attachments.items(): content_type = info.get('content_type') if content_type is None: # CouchDB < 0.8 content_type = info.get('content-type') parts.add(content_type, b64decode(info['data']), { 'Content-ID': name }) parts.close() else: envelope.add('application/json', jsondoc, { 'Content-ID': doc.id, 'ETag': '"%s"' % doc.rev }, ) envelope.close()
bc7383c51c09f939e828ecf7fda24bdd45bd8955 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/9373/bc7383c51c09f939e828ecf7fda24bdd45bd8955/dump.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4657, 67, 1966, 12, 1966, 718, 16, 2718, 33, 7036, 16, 2201, 33, 7036, 16, 7679, 33, 7036, 16, 876, 33, 9499, 18, 10283, 4672, 1319, 273, 5130, 12, 1966, 718, 13, 309, 2718, 353, 486, 599, 471, 2201, 353, 486, 599, 30, 1319, 18, 3146, 18, 2505, 18, 1289, 67, 11687, 12, 5053, 16, 2201, 13, 225, 9045, 273, 1045, 67, 16404, 12, 2844, 16, 7679, 33, 16604, 13, 225, 364, 997, 350, 316, 1319, 30, 997, 273, 1319, 18, 588, 12, 2434, 350, 16, 10065, 33, 5510, 13, 1172, 9778, 9499, 18, 11241, 16, 296, 11232, 1382, 1668, 738, 86, 11, 738, 997, 18, 350, 10065, 273, 997, 18, 5120, 2668, 67, 17828, 2187, 2618, 13, 1163, 2434, 273, 1163, 18, 3015, 12, 2434, 13, 225, 309, 10065, 30, 2140, 273, 9045, 18, 3190, 12590, 296, 1350, 17, 734, 4278, 997, 18, 350, 16, 296, 22560, 4278, 22563, 87, 5187, 738, 997, 18, 9083, 289, 13, 2140, 18, 1289, 2668, 3685, 19, 1977, 2187, 1163, 2434, 13, 225, 364, 508, 16, 1123, 316, 10065, 18, 3319, 13332, 913, 67, 723, 273, 1123, 18, 588, 2668, 1745, 67, 723, 6134, 309, 913, 67, 723, 353, 599, 30, 468, 17696, 2290, 411, 374, 18, 28, 913, 67, 723, 273, 1123, 18, 588, 2668, 1745, 17, 723, 6134, 2140, 18, 1289, 12, 1745, 67, 723, 16, 324, 1105, 3922, 12, 1376, 3292, 892, 3546, 3631, 288, 296, 1350, 17, 734, 4278, 508, 289, 13, 2140, 18, 4412, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4657, 67, 1966, 12, 1966, 718, 16, 2718, 33, 7036, 16, 2201, 33, 7036, 16, 7679, 33, 7036, 16, 876, 33, 9499, 18, 10283, 4672, 1319, 273, 5130, 12, 1966, 718, 13, 309, 2718, 353, 486, 599, 471, 2201, 353, 486, 599, 30, 1319, 18, 3146, 18, 2505, 18, 1289, 67, 11687, 12, 5053, 16, 2201, 13, 225, 9045, 273, 1045, 67, 16404, 12, 2844, 16, 7679, 33, 16604, 13, 225, 364, 997, 350, 316, 1319, 30, 997, 273, 1319, 18, 588, 12, 2434, 350, 16, 10065, 33, 5510, 13, 1172, 9778, 9499, 18, 11241, 16, 296, 11232, 1382, 1668, 738, 86, 11, 738, 997, 18, 350, 10065, 273, 997, 18, 5120, 2668, 67, 17828, 2187, 2618, 13, 2 ]
geo=GpicSync(gpxFile=self.getGpxFile(),tcam_l=self.tcam_l,tgps_l=self.tgps_l,
geo=GpicSync(gpxFile=self.gpxFile,tcam_l=self.tcam_l,tgps_l=self.tgps_l,
def sync(): if self.dirEntry.GetValue()!="" and self.gpxEntry.GetValue!="": wx.CallAfter(self.consolePrint,"\n------\n"+_("Beginning synchronization with ")\ +_("UTC Offset =")+self.utcEntry.GetValue()+\ _(" hours and maximum time difference = ")+self.timerangeEntry.GetValue() +_(" seconds")+"\n") else: pass geo=GpicSync(gpxFile=self.getGpxFile(),tcam_l=self.tcam_l,tgps_l=self.tgps_l, UTCoffset=self.utcOffset,dateProcess=dateProcess,timerange=int(self.timerangeEntry.GetValue()), backup=False,interpolation=self.interpolation) if self.backupCheck.GetValue()==True: backupFolder=self.picDir+'/originals-backup-'+os.path.basename(self.picDir)+'/' wx.CallAfter(self.consolePrint,"\n"+ _("Creating an 'originals-backup' folder.")+"\n") try: os.mkdir(backupFolder) except: print "Couldn't create the backup folder, it maybe already exist"
f57720aae7e3217c5deab9f5281050db786c1433 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/11453/f57720aae7e3217c5deab9f5281050db786c1433/gpicsync-GUI.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3792, 13332, 309, 365, 18, 1214, 1622, 18, 967, 620, 1435, 5, 1546, 6, 471, 365, 18, 75, 4430, 1622, 18, 967, 620, 5, 1546, 6877, 7075, 18, 1477, 4436, 12, 2890, 18, 8698, 5108, 10837, 64, 82, 13093, 64, 82, 6, 15, 67, 2932, 8149, 2093, 24488, 598, 315, 5153, 397, 67, 2932, 11471, 9874, 273, 7923, 15, 2890, 18, 17892, 1622, 18, 967, 620, 1435, 16971, 389, 2932, 7507, 471, 4207, 813, 7114, 273, 9369, 15, 2890, 18, 12542, 726, 1622, 18, 967, 620, 1435, 397, 67, 2932, 3974, 7923, 9078, 64, 82, 7923, 225, 469, 30, 1342, 7856, 33, 43, 20003, 4047, 12, 75, 4430, 812, 33, 2890, 18, 75, 4430, 812, 16, 5111, 301, 67, 80, 33, 2890, 18, 5111, 301, 67, 80, 16, 88, 75, 1121, 67, 80, 33, 2890, 18, 88, 75, 1121, 67, 80, 16, 9951, 3348, 33, 2890, 18, 17892, 2335, 16, 712, 2227, 33, 712, 2227, 16, 12542, 726, 33, 474, 12, 2890, 18, 12542, 726, 1622, 18, 967, 620, 1435, 3631, 5114, 33, 8381, 16, 18676, 367, 33, 2890, 18, 18676, 367, 13, 225, 309, 365, 18, 9572, 1564, 18, 967, 620, 1435, 631, 5510, 30, 5114, 3899, 33, 2890, 18, 20003, 1621, 6797, 19, 10012, 1031, 17, 9572, 6627, 15, 538, 18, 803, 18, 13909, 12, 2890, 18, 20003, 1621, 13, 6797, 2473, 7075, 18, 1477, 4436, 12, 2890, 18, 8698, 5108, 10837, 64, 82, 6, 15, 389, 2932, 11092, 392, 296, 10012, 1031, 17, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3792, 13332, 309, 365, 18, 1214, 1622, 18, 967, 620, 1435, 5, 1546, 6, 471, 365, 18, 75, 4430, 1622, 18, 967, 620, 5, 1546, 6877, 7075, 18, 1477, 4436, 12, 2890, 18, 8698, 5108, 10837, 64, 82, 13093, 64, 82, 6, 15, 67, 2932, 8149, 2093, 24488, 598, 315, 5153, 397, 67, 2932, 11471, 9874, 273, 7923, 15, 2890, 18, 17892, 1622, 18, 967, 620, 1435, 16971, 389, 2932, 7507, 471, 4207, 813, 7114, 273, 9369, 15, 2890, 18, 12542, 726, 1622, 18, 967, 620, 1435, 397, 67, 2932, 3974, 7923, 9078, 64, 82, 7923, 225, 469, 30, 1342, 7856, 33, 43, 20003, 4047, 12, 75, 4430, 812, 33, 2890, 18, 75, 4430, 812, 16, 5111, 301, 2 ]
import sys,traceback
def __setattr__(self,name,value): if name!='_l': if __debug__: if _module_debug_level>0: print '************',\ self.__module__+'.'+self.__class__.__name__+'.__setattr__(%s,%s)' % (name,value) if _module_debug_level>=2: import sys,traceback traceback.print_stack(file=sys.stdout) _ldapmodule_lock.acquire() try: setattr(self._l,name,value) finally: _ldapmodule_lock.release() else: self.__dict__[name] = value
fc5bd7b77443dfcf196c4136f1b26cdaf847e448 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/4610/fc5bd7b77443dfcf196c4136f1b26cdaf847e448/ldapthreadlock.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 542, 1747, 972, 12, 2890, 16, 529, 16, 1132, 4672, 309, 508, 5, 2218, 67, 80, 4278, 309, 1001, 4148, 972, 30, 309, 389, 2978, 67, 4148, 67, 2815, 34, 20, 30, 1172, 296, 1644, 1007, 2187, 64, 365, 16186, 2978, 972, 6797, 1093, 15, 2890, 16186, 1106, 972, 16186, 529, 972, 6797, 16186, 542, 1747, 972, 9275, 87, 15529, 87, 2506, 738, 261, 529, 16, 1132, 13, 309, 389, 2978, 67, 4148, 67, 2815, 34, 33, 22, 30, 10820, 18, 1188, 67, 3772, 12, 768, 33, 9499, 18, 10283, 13, 389, 14394, 2978, 67, 739, 18, 1077, 1039, 1435, 775, 30, 9241, 12, 2890, 6315, 80, 16, 529, 16, 1132, 13, 3095, 30, 389, 14394, 2978, 67, 739, 18, 9340, 1435, 469, 30, 365, 16186, 1576, 972, 63, 529, 65, 273, 460, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 542, 1747, 972, 12, 2890, 16, 529, 16, 1132, 4672, 309, 508, 5, 2218, 67, 80, 4278, 309, 1001, 4148, 972, 30, 309, 389, 2978, 67, 4148, 67, 2815, 34, 20, 30, 1172, 296, 1644, 1007, 2187, 64, 365, 16186, 2978, 972, 6797, 1093, 15, 2890, 16186, 1106, 972, 16186, 529, 972, 6797, 16186, 542, 1747, 972, 9275, 87, 15529, 87, 2506, 738, 261, 529, 16, 1132, 13, 309, 389, 2978, 67, 4148, 67, 2815, 34, 33, 22, 30, 10820, 18, 1188, 67, 3772, 12, 768, 33, 9499, 18, 10283, 13, 389, 14394, 2978, 67, 739, 18, 1077, 1039, 1435, 775, 30, 9241, 12, 2890, 6315, 80, 16, 529, 16, 1132, 13, 3095, 30, 389, 14394, 2978, 2 ]
copystream=open(self.copy,'wb')
copystream=DamnOpenFile(self.copy,'wb')
def goDownload(self): self.http=DamnURLPicker(self.uri,resumeat=self.amountwritten) if self.http==None: try: self.pipe.close() # This tells ffmpeg that it's the end of the stream except: pass return None writing='' direct=False if self.copy!=None: copystream=open(self.copy,'wb') i='letsgo' while len(i): tmptimer=thr.Timer(10.0,self.timeouterror) tmptimer.start() try: i=self.http.read(1024) tmptimer.cancel() except: Damnlog('DamnDownloader stream timeout from exception handler.') self.timeouted=True break try: if direct: self.pipe.write(i) if self.copy!=None: copystream.write(i) else: writing+=i if len(writing)>102400: # Cache the first 100 KB and write them all at once (solves ffmpeg's "moov atom not found" problem) self.pipe.write(writing) if self.copy!=None: copystream.write(writing) direct=True del writing except: break self.amountwritten+=len(i) if not direct: # Video weighs less than 100 KB (!) try: self.pipe.write(writing) if self.copy!=None: copystream.write(writing) except: pass try: self.http.close() except: pass try: self.pipe.close() # This tells ffmpeg that it's the end of the stream except: pass try: copystream.close() # Might not be defined, but doesn't matter except: pass
eb32c3f0350ac5e4cc4ce63c81f04bfa758a966a /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/11142/eb32c3f0350ac5e4cc4ce63c81f04bfa758a966a/DamnVid.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1960, 7109, 12, 2890, 4672, 365, 18, 2505, 33, 40, 301, 82, 1785, 13194, 12, 2890, 18, 1650, 16, 25158, 270, 33, 2890, 18, 8949, 9748, 13, 309, 365, 18, 2505, 631, 7036, 30, 775, 30, 365, 18, 14772, 18, 4412, 1435, 468, 1220, 24551, 6875, 19951, 716, 518, 1807, 326, 679, 434, 326, 1407, 1335, 30, 1342, 327, 599, 7410, 2218, 11, 2657, 33, 8381, 309, 365, 18, 3530, 5, 33, 7036, 30, 6529, 1094, 793, 33, 40, 301, 82, 3678, 812, 12, 2890, 18, 3530, 11189, 9464, 6134, 277, 2218, 1810, 1055, 83, 11, 1323, 562, 12, 77, 4672, 6118, 337, 4417, 33, 451, 86, 18, 6777, 12, 2163, 18, 20, 16, 2890, 18, 4538, 1636, 13, 6118, 337, 4417, 18, 1937, 1435, 775, 30, 277, 33, 2890, 18, 2505, 18, 896, 12, 2163, 3247, 13, 6118, 337, 4417, 18, 10996, 1435, 1335, 30, 463, 301, 82, 1330, 2668, 40, 301, 82, 4164, 6714, 1407, 2021, 628, 1520, 1838, 1093, 13, 365, 18, 4538, 329, 33, 5510, 898, 775, 30, 309, 2657, 30, 365, 18, 14772, 18, 2626, 12, 77, 13, 309, 365, 18, 3530, 5, 33, 7036, 30, 6529, 1094, 793, 18, 2626, 12, 77, 13, 469, 30, 7410, 15, 33, 77, 309, 562, 12, 14345, 13, 34, 2163, 3247, 713, 30, 468, 4379, 326, 1122, 2130, 20784, 471, 1045, 2182, 777, 622, 3647, 261, 18281, 3324, 6875, 19951, 1807, 315, 8683, 1527, 3179, 486, 1392, 6, 6199, 13, 365, 18, 14772, 18, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1960, 7109, 12, 2890, 4672, 365, 18, 2505, 33, 40, 301, 82, 1785, 13194, 12, 2890, 18, 1650, 16, 25158, 270, 33, 2890, 18, 8949, 9748, 13, 309, 365, 18, 2505, 631, 7036, 30, 775, 30, 365, 18, 14772, 18, 4412, 1435, 468, 1220, 24551, 6875, 19951, 716, 518, 1807, 326, 679, 434, 326, 1407, 1335, 30, 1342, 327, 599, 7410, 2218, 11, 2657, 33, 8381, 309, 365, 18, 3530, 5, 33, 7036, 30, 6529, 1094, 793, 33, 40, 301, 82, 3678, 812, 12, 2890, 18, 3530, 11189, 9464, 6134, 277, 2218, 1810, 1055, 83, 11, 1323, 562, 12, 77, 4672, 6118, 337, 4417, 33, 451, 86, 18, 6777, 12, 2163, 18, 20, 16, 2890, 18, 4538, 1636, 2 ]
u'DTSTART;VALUE="DATE":2005-07-01 00:00:00'
u'DTSTART;VALUE=DATE:2005-07-01 00:00:00'
def test_load_2(self): """Test loading a 2 events calendar.""" cal = self.cal2
4284d14984f2a4b3da93b77281110353f761aa67 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12681/4284d14984f2a4b3da93b77281110353f761aa67/test_ical.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 67, 945, 67, 22, 12, 2890, 4672, 3536, 4709, 7153, 279, 576, 2641, 5686, 12123, 1443, 273, 365, 18, 771, 22, 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, 0, 0, 0, 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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1842, 67, 945, 67, 22, 12, 2890, 4672, 3536, 4709, 7153, 279, 576, 2641, 5686, 12123, 1443, 273, 365, 18, 771, 22, 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, -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, -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, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
"The parameter, %s, was ommitted from the request."
"The parameter, %s, was omitted from the request."
def badRequestError(self,name):
3acdcbee8768b5cb4047573a5736a805014b0c28 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9658/3acdcbee8768b5cb4047573a5736a805014b0c28/Publish.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 5570, 28963, 12, 2890, 16, 529, 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, 0, 0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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 5570, 28963, 12, 2890, 16, 529, 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, -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, -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, -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, -100, -100, -100 ]
py.test.skip("Broken because of line numbers")
def testVariableRule(self): """ parser.wiki: ----- rules with size """ py.test.skip("Broken because of line numbers")
4c6bdda60568bbccf7a9a996f908fcbd6101e97f /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/888/4c6bdda60568bbccf7a9a996f908fcbd6101e97f/test_text_moin_wiki.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 3092, 2175, 12, 2890, 4672, 3536, 2082, 18, 13044, 30, 9135, 2931, 598, 963, 3536, 2395, 18, 3813, 18, 7457, 2932, 29559, 2724, 434,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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1842, 3092, 2175, 12, 2890, 4672, 3536, 2082, 18, 13044, 30, 9135, 2931, 598, 963, 3536, 2395, 18, 3813, 18, 7457, 2932, 29559, 2724, 434, 980, 5600, 7923, 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, -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, -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, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
length = q[0] / 1000000000
length = q[0] / float(gst.SECOND)
def bus_eos(self, bus, message): """ Handler for the GStreamer End Of Stream message. Currently used when the file is loading and is being rendered. This function is called at the end of the file loading process and finalises the rendering. """ if message.type == gst.MESSAGE_EOS: # Update levels for partial events q = self.bin.query_duration(gst.FORMAT_TIME) length = q[0] / 1000000000 if self.offset > 0 or self.duration != length: dt = int(self.duration * len(self.levels) / length) start = int(self.offset * len(self.levels) / length) self.levels = self.levels[start:start+dt] # We're done with the bin so release it self.bin.set_state(gst.STATE_NULL) self.isLoading = False # Signal to interested objects that we've changed self.StateChanged(self.WAVEFORM) return False
835875beaf511ec96d54b0aad26c2f47f3715b7b /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/10033/835875beaf511ec96d54b0aad26c2f47f3715b7b/Event.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 5766, 67, 73, 538, 12, 2890, 16, 5766, 16, 883, 4672, 3536, 4663, 364, 326, 611, 1228, 264, 4403, 8031, 3961, 883, 18, 15212, 1399, 1347, 326, 585, 353, 7153, 471, 353, 3832, 7935, 18, 1220, 445, 353, 2566, 622, 326, 679, 434, 326, 585, 7153, 1207, 471, 727, 6141, 326, 9782, 18, 3536, 309, 883, 18, 723, 422, 314, 334, 18, 8723, 67, 41, 4618, 30, 225, 468, 2315, 7575, 364, 4702, 2641, 1043, 273, 365, 18, 4757, 18, 2271, 67, 8760, 12, 75, 334, 18, 7254, 67, 4684, 13, 769, 273, 1043, 63, 20, 65, 342, 1431, 12, 75, 334, 18, 16328, 13, 225, 309, 365, 18, 3348, 405, 374, 578, 365, 18, 8760, 480, 769, 30, 3681, 273, 509, 12, 2890, 18, 8760, 380, 562, 12, 2890, 18, 12095, 13, 342, 769, 13, 787, 273, 509, 12, 2890, 18, 3348, 380, 562, 12, 2890, 18, 12095, 13, 342, 769, 13, 365, 18, 12095, 273, 365, 18, 12095, 63, 1937, 30, 1937, 15, 7510, 65, 225, 468, 1660, 4565, 2731, 598, 326, 4158, 1427, 3992, 518, 365, 18, 4757, 18, 542, 67, 2019, 12, 75, 334, 18, 7998, 67, 8560, 13, 365, 18, 291, 10515, 273, 1083, 225, 468, 12032, 358, 20506, 2184, 716, 732, 8081, 3550, 365, 18, 1119, 5033, 12, 2890, 18, 59, 26714, 4983, 13, 327, 1083, 225, 2, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5766, 67, 73, 538, 12, 2890, 16, 5766, 16, 883, 4672, 3536, 4663, 364, 326, 611, 1228, 264, 4403, 8031, 3961, 883, 18, 15212, 1399, 1347, 326, 585, 353, 7153, 471, 353, 3832, 7935, 18, 1220, 445, 353, 2566, 622, 326, 679, 434, 326, 585, 7153, 1207, 471, 727, 6141, 326, 9782, 18, 3536, 309, 883, 18, 723, 422, 314, 334, 18, 8723, 67, 41, 4618, 30, 225, 468, 2315, 7575, 364, 4702, 2641, 1043, 273, 365, 18, 4757, 18, 2271, 67, 8760, 12, 75, 334, 18, 7254, 67, 4684, 13, 769, 273, 1043, 63, 20, 65, 342, 1431, 12, 75, 334, 18, 16328, 13, 225, 309, 365, 18, 3348, 405, 374, 578, 365, 18, 8760, 480, 769, 2 ]
month = str(matplotlib.dates.DateFormatter.strftime(self,dt,'%b')) fmt = fmt.replace('%n',month[0])
month = matplotlib.dates.DateFormatter.strftime(self,dt,'%b') fmt = str(fmt.replace('%n',month[0]))
def strftime(self, dt, fmt): if ('%e' in fmt): dayname = str(matplotlib.dates.DateFormatter.strftime(self,dt,'%A')) fmt = fmt.replace('%e',dayname[0]) if ('%n' in fmt): month = str(matplotlib.dates.DateFormatter.strftime(self,dt,'%b')) fmt = fmt.replace('%n',month[0]) if ('%Q' in fmt): monthnr = int(matplotlib.dates.DateFormatter.strftime(self,dt,'%m')) fmt = fmt.replace('%Q','Q%i' % math.ceil(monthnr/3.)) return matplotlib.dates.DateFormatter.strftime(self,dt,fmt)
19fa4f7fbd00fe733dc5e160af3e1d29b8eb03de /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/381/19fa4f7fbd00fe733dc5e160af3e1d29b8eb03de/plot.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 10405, 12, 2890, 16, 3681, 16, 1325, 4672, 309, 7707, 9, 73, 11, 316, 1325, 4672, 2548, 529, 273, 609, 12, 7373, 10690, 18, 9683, 18, 1626, 5074, 18, 701, 9982, 12, 2890, 16, 7510, 11189, 9, 37, 26112, 1325, 273, 1325, 18, 2079, 29909, 73, 2187, 2881, 529, 63, 20, 5717, 309, 7707, 9, 82, 11, 316, 1325, 4672, 3138, 273, 13892, 18, 9683, 18, 1626, 5074, 18, 701, 9982, 12, 2890, 16, 7510, 11189, 9, 70, 6134, 1325, 273, 609, 12, 8666, 18, 2079, 29909, 82, 2187, 7496, 63, 20, 22643, 309, 7707, 9, 53, 11, 316, 1325, 4672, 3138, 11611, 273, 509, 12, 7373, 10690, 18, 9683, 18, 1626, 5074, 18, 701, 9982, 12, 2890, 16, 7510, 11189, 9, 81, 26112, 1325, 273, 1325, 18, 2079, 29909, 53, 17023, 53, 9, 77, 11, 738, 4233, 18, 311, 330, 12, 7496, 11611, 19, 23, 18, 3719, 327, 13892, 18, 9683, 18, 1626, 5074, 18, 701, 9982, 12, 2890, 16, 7510, 16, 8666, 13, 225, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 10405, 12, 2890, 16, 3681, 16, 1325, 4672, 309, 7707, 9, 73, 11, 316, 1325, 4672, 2548, 529, 273, 609, 12, 7373, 10690, 18, 9683, 18, 1626, 5074, 18, 701, 9982, 12, 2890, 16, 7510, 11189, 9, 37, 26112, 1325, 273, 1325, 18, 2079, 29909, 73, 2187, 2881, 529, 63, 20, 5717, 309, 7707, 9, 82, 11, 316, 1325, 4672, 3138, 273, 13892, 18, 9683, 18, 1626, 5074, 18, 701, 9982, 12, 2890, 16, 7510, 11189, 9, 70, 6134, 1325, 273, 609, 12, 8666, 18, 2079, 29909, 82, 2187, 7496, 63, 20, 22643, 309, 7707, 9, 53, 11, 316, 1325, 4672, 3138, 11611, 273, 509, 12, 7373, 10690, 18, 9683, 18, 1626, 5074, 18, 701, 9982, 12, 2890, 2 ]
print "Usage: %s --server {start|stop} [--apache2]" % sys.argv[0]
print 'Usage: %s --server {start|stop} [--root=root_dir]' print ' [--port=port_number]' % sys.argv[0]
def Stop(self, force=False): if not force and not self.IsRunning(): return
a843a3fde6e142db763e90030cbbeac0ebe0dac1 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/9392/a843a3fde6e142db763e90030cbbeac0ebe0dac1/http_server.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 5131, 12, 2890, 16, 2944, 33, 8381, 4672, 309, 486, 2944, 471, 486, 365, 18, 2520, 7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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 5131, 12, 2890, 16, 2944, 33, 8381, 4672, 309, 486, 2944, 471, 486, 365, 18, 2520, 7051, 13332, 327, 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, -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, -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, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
self.driver.Delete( new_filename )
if gdal.GetConfigOption( 'CPL_DEBUG', 'OFF' ) != 'ON': self.driver.Delete( new_filename )
def testCreate(self, new_filename = None, out_bands = 3):
71b35e954aa0c31acce12a648a5b2e1343a865e7 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/10289/71b35e954aa0c31acce12a648a5b2e1343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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1842, 1684, 12, 2890, 16, 394, 67, 3459, 273, 599, 16, 596, 67, 29714, 273, 890, 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, -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, -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, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
for command in commands.__all__: fn = getattr(commands, command) def do_cmd(self, rest_of_line, cmd=command): global_dict, local_dict = namespaces.get_twill_glocals() args = [] if rest_of_line.strip() != "": try: args = parse.arguments.parseString(rest_of_line)[0] args = parse.process_args(args, global_dict,local_dict) except Exception, e: print '\nINPUT ERROR: %s\n' % (str(e),) return try: parse.execute_command(cmd, args, global_dict, local_dict, "<shell>") except SystemExit: raise except Exception, e: print '\nERROR: %s\n' % (str(e),) name = 'do_%s' % (command,) setattr(cls, name, do_cmd) def help_cmd(self, message=fn.__doc__, cmd=command): print '=' * 15 print '\nHelp for command %s:\n' % (cmd,) print message.strip() print '' print '=' * 15 print '' name = 'help_%s' % (command,) setattr(cls, name, help_cmd)
return help_cmd class Singleton(object): def __new__(cls, *args, **kwds): it = cls.__dict__.get("__it__") if it is not None: return it cls.__it__ = it = object.__new__(cls) it.init(*args, **kwds) return it def init(self, *args, **kwds): pass
def __init__(cls, cls_name, cls_bases, cls_dict): super(_command_loop_metaclass, cls).__init__(cls_name, cls_bases, cls_dict)
7e122f3bb12c1f0d78a97d71d247f0f1addc01e7 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8598/7e122f3bb12c1f0d78a97d71d247f0f1addc01e7/shell.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 6429, 16, 2028, 67, 529, 16, 2028, 67, 18602, 16, 2028, 67, 1576, 4672, 2240, 24899, 3076, 67, 6498, 67, 3901, 1106, 16, 2028, 2934, 972, 2738, 972, 12, 6429, 67, 529, 16, 2028, 67, 18602, 16, 2028, 67, 1576, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,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, 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, 6429, 16, 2028, 67, 529, 16, 2028, 67, 18602, 16, 2028, 67, 1576, 4672, 2240, 24899, 3076, 67, 6498, 67, 3901, 1106, 16, 2028, 2934, 972, 2738, 972, 12, 6429, 67, 529, 16, 2028, 67, 18602, 16, 2028, 67, 1576, 13, 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, -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, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if self.__instance: return self.__instance self.__instance = self
def __init__(self): if self.__instance: return self.__instance self.__instance = self self._storable_plugins = [] self.action_handlers = {} self.periodic_actions = [] self.protocols = []
26e2f80680fb931d0b888937ba48e7e8f2ed6aec /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/10891/26e2f80680fb931d0b888937ba48e7e8f2ed6aec/manager.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 4672, 365, 6315, 334, 15514, 67, 8057, 273, 5378, 365, 18, 1128, 67, 11046, 273, 2618, 365, 18, 6908, 335, 67, 4905, 273, 5378, 365, 18, 31018, 273, 5378, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 4672, 365, 6315, 334, 15514, 67, 8057, 273, 5378, 365, 18, 1128, 67, 11046, 273, 2618, 365, 18, 6908, 335, 67, 4905, 273, 5378, 365, 18, 31018, 273, 5378, 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, -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, -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, -100, -100, -100 ]
self.imports = Collection(self, key=f)
self.imports = Collection(self, key=ns)
def __init__(self, parent=None): """parent -- instance variables: targetNamespace -- schema's declared targetNamespace, or empty string. _imported_schemas -- namespace keyed dict of schema dependencies, if a schema is provided instance will not resolve import statement. _included_schemas -- schemaLocation keyed dict of component schemas, if schema is provided instance will not resolve include statement. _base_url -- needed for relative URLs support, only works with URLs relative to initial document. includes -- collection of include statements imports -- collection of import statements elements -- collection of global element declarations types -- collection of global type definitions attr_decl -- collection of global attribute declarations attr_groups -- collection of global attribute group definitions model_groups -- collection of model group definitions notations -- collection of notations
66c6baf2288f065b45db940b63cfc5dba1aa9fb0 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/13054/66c6baf2288f065b45db940b63cfc5dba1aa9fb0/XMLSchema.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 982, 33, 7036, 4672, 3536, 2938, 1493, 791, 3152, 30, 1018, 3402, 1493, 1963, 1807, 7886, 1018, 3402, 16, 578, 1008, 533, 18, 389, 29266, 67, 17928, 1493, 1981, 17408, 2065, 434, 1963, 5030, 16, 309, 279, 1963, 353, 2112, 791, 903, 486, 2245, 1930, 3021, 18, 389, 20405, 67, 17928, 1493, 1963, 2735, 17408, 2065, 434, 1794, 12783, 16, 309, 1963, 353, 2112, 791, 903, 486, 2245, 2341, 3021, 18, 389, 1969, 67, 718, 1493, 3577, 364, 3632, 10414, 2865, 16, 1338, 6330, 598, 10414, 3632, 358, 2172, 1668, 18, 6104, 1493, 1849, 434, 2341, 6317, 10095, 1493, 1849, 434, 1930, 6317, 2186, 1493, 1849, 434, 2552, 930, 12312, 1953, 1493, 1849, 434, 2552, 618, 6377, 1604, 67, 8840, 1493, 1849, 434, 2552, 1566, 12312, 1604, 67, 4650, 1493, 1849, 434, 2552, 1566, 1041, 6377, 938, 67, 4650, 1493, 1849, 434, 938, 1041, 6377, 486, 1012, 1493, 1849, 434, 486, 1012, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 982, 33, 7036, 4672, 3536, 2938, 1493, 791, 3152, 30, 1018, 3402, 1493, 1963, 1807, 7886, 1018, 3402, 16, 578, 1008, 533, 18, 389, 29266, 67, 17928, 1493, 1981, 17408, 2065, 434, 1963, 5030, 16, 309, 279, 1963, 353, 2112, 791, 903, 486, 2245, 1930, 3021, 18, 389, 20405, 67, 17928, 1493, 1963, 2735, 17408, 2065, 434, 1794, 12783, 16, 309, 1963, 353, 2112, 791, 903, 486, 2245, 2341, 3021, 18, 389, 1969, 67, 718, 1493, 3577, 364, 3632, 10414, 2865, 16, 1338, 6330, 598, 10414, 3632, 358, 2172, 1668, 18, 6104, 1493, 1849, 434, 2341, 6317, 10095, 1493, 1849, 434, 1930, 6317, 2186, 1493, 1849, 434, 2552, 930, 12312, 1953, 1493, 2 ]
str += '<H2>Class Hierarchy</H2>\n'
str += '<h2>Class Hierarchy</h2>\n'
def _tree_to_html(self): str = self._header('Class Hierarchy') str += self._navbar('tree') str += self._start_of('Class Hierarchy') str += '<H2>Module Hierarchy</H2>\n' str += self._module_tree() str += '<H2>Class Hierarchy</H2>\n' str += self._class_tree() str += self._navbar('tree') str += self._footer() return str
89bd16eaf8c7e556babe42c6a92621dbc9b8a7e9 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3512/89bd16eaf8c7e556babe42c6a92621dbc9b8a7e9/html.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 3413, 67, 869, 67, 2620, 12, 2890, 4672, 609, 273, 365, 6315, 3374, 2668, 797, 670, 6000, 6134, 609, 1011, 365, 6315, 11589, 3215, 2668, 3413, 6134, 609, 1011, 365, 6315, 1937, 67, 792, 2668, 797, 670, 6000, 6134, 609, 1011, 2368, 44, 22, 34, 3120, 670, 6000, 1757, 44, 22, 5333, 82, 11, 609, 1011, 365, 6315, 2978, 67, 3413, 1435, 609, 1011, 2368, 76, 22, 34, 797, 670, 6000, 1757, 76, 22, 5333, 82, 11, 609, 1011, 365, 6315, 1106, 67, 3413, 1435, 609, 1011, 365, 6315, 11589, 3215, 2668, 3413, 6134, 609, 1011, 365, 6315, 14723, 1435, 327, 609, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0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, 3215, 2668, 3413, 6134, 609, 1011, 365, 6315, 1937, 67, 792, 2668, 797, 670, 6000, 6134, 609, 1011, 2368, 44, 22, 34, 3120, 670, 6000, 1757, 44, 22, 5333, 82, 11, 609, 1011, 365, 6315, 2978, 67, 3413, 1435, 609, 1011, 2368, 76, 22, 34, 797, 670, 6000, 1757, 76, 22, 5333, 82, 11, 609, 1011, 365, 6315, 1106, 67, 3413, 1435, 609, 1011, 365, 6315, 11589, 3215, 2668, 3413, 6134, 609, 1011, 365, 6315, 14723, 1435, 327, 609, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
self.uncatalog_object(referenceObject.getId()) self._delObject(referenceObject.getId())
self._deleteReferenceId(referenceObject.getId())
def _deleteReference(self, referenceObject):
557744d105e5c0e34be326d92488311e9415b186 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12165/557744d105e5c0e34be326d92488311e9415b186/ReferenceEngine.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 3733, 2404, 12, 2890, 16, 2114, 921, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0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]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 3733, 2404, 12, 2890, 16, 2114, 921, 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, -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, -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, -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, -100 ]
self._out_entry.insert(0, opts.get('outdir', 'html'))
self._out_entry.insert(0, opts.get('target', 'html'))
def open(self, prjfile): from epydoc.docwriter.html_css import STYLESHEETS self._filename = prjfile try: opts = load(open(prjfile, 'r')) modnames = list(opts.get('modules', [])) modnames.sort() self._module_list.delete(0, 'end') for name in modnames: self.add_module(name) self._module_entry.delete(0, 'end') self._name_entry.delete(0, 'end') if opts.get('prj_name'): self._name_entry.insert(0, opts['prj_name']) self._url_entry.delete(0, 'end') if opts.get('prj_url'): self._url_entry.insert(0, opts['prj_url'])
0e095268388eef51b50704e7f0c948a848d4a03f /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/11420/0e095268388eef51b50704e7f0c948a848d4a03f/gui.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1696, 12, 2890, 16, 27378, 768, 4672, 628, 425, 2074, 2434, 18, 2434, 6299, 18, 2620, 67, 5212, 1930, 27449, 2664, 41, 1584, 55, 365, 6315, 3459, 273, 27378, 768, 775, 30, 1500, 273, 1262, 12, 3190, 12, 683, 78, 768, 16, 296, 86, 26112, 225, 681, 1973, 273, 666, 12, 4952, 18, 588, 2668, 6400, 2187, 5378, 3719, 681, 1973, 18, 3804, 1435, 365, 6315, 2978, 67, 1098, 18, 3733, 12, 20, 16, 296, 409, 6134, 364, 508, 316, 681, 1973, 30, 365, 18, 1289, 67, 2978, 12, 529, 13, 365, 6315, 2978, 67, 4099, 18, 3733, 12, 20, 16, 296, 409, 6134, 225, 365, 6315, 529, 67, 4099, 18, 3733, 12, 20, 16, 296, 409, 6134, 309, 1500, 18, 588, 2668, 683, 78, 67, 529, 11, 4672, 365, 6315, 529, 67, 4099, 18, 6387, 12, 20, 16, 1500, 3292, 683, 78, 67, 529, 19486, 225, 365, 6315, 718, 67, 4099, 18, 3733, 12, 20, 16, 296, 409, 6134, 309, 1500, 18, 588, 2668, 683, 78, 67, 718, 11, 4672, 365, 6315, 718, 67, 4099, 18, 6387, 12, 20, 16, 1500, 3292, 683, 78, 67, 718, 19486, 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, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 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, 12, 2890, 16, 27378, 768, 4672, 628, 425, 2074, 2434, 18, 2434, 6299, 18, 2620, 67, 5212, 1930, 27449, 2664, 41, 1584, 55, 365, 6315, 3459, 273, 27378, 768, 775, 30, 1500, 273, 1262, 12, 3190, 12, 683, 78, 768, 16, 296, 86, 26112, 225, 681, 1973, 273, 666, 12, 4952, 18, 588, 2668, 6400, 2187, 5378, 3719, 681, 1973, 18, 3804, 1435, 365, 6315, 2978, 67, 1098, 18, 3733, 12, 20, 16, 296, 409, 6134, 364, 508, 316, 681, 1973, 30, 365, 18, 1289, 67, 2978, 12, 529, 13, 365, 6315, 2978, 67, 4099, 18, 3733, 12, 20, 16, 296, 409, 6134, 225, 365, 6315, 529, 67, 4099, 18, 3733, 12, 20, 16, 296, 409, 6134, 2 ]
self.SetStatus(percent=percent)
def Gcmd(self,cmd,stdin=None): """Runs GRASS command, fetches all GRASS_MESSAGE and GRASS_PERCENT messages and sets self.status according to them, so the client application can track the progress information, when runing with Status=True
d0a560191412520a1799935bb425b9158c7e51a8 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/10967/d0a560191412520a1799935bb425b9158c7e51a8/process.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 611, 4172, 12, 2890, 16, 4172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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 611, 4172, 12, 2890, 16, 4172, 16, 21772, 33, 7036, 4672, 3536, 9361, 611, 2849, 1260, 1296, 16, 17675, 777, 611, 2849, 1260, 67, 8723, 471, 611, 2849, 1260, 67, 3194, 19666, 2743, 471, 1678, 365, 18, 2327, 4888, 358, 2182, 16, 1427, 326, 1004, 2521, 848, 3298, 326, 4007, 1779, 16, 1347, 1086, 310, 598, 2685, 33, 5510, 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, -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, -100, -100, -100, -100, -100 ]
return (len(self.paths) == 1 and len(self.revisions) == 1)
item = self.revisions[0]["revision"] return (item.value > 1 and len(self.revisions) == 1)
def compare_previous_revision(self, data=None): return (len(self.paths) == 1 and len(self.revisions) == 1)
ad5521587456ebb741ee574a52047df0b8e70698 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/5119/ad5521587456ebb741ee574a52047df0b8e70698/log.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3400, 67, 11515, 67, 13057, 12, 2890, 16, 501, 33, 7036, 4672, 327, 261, 1897, 12, 2890, 18, 4481, 13, 422, 404, 471, 562, 12, 2890, 18, 29892, 13, 422, 404, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 3400, 67, 11515, 67, 13057, 12, 2890, 16, 501, 33, 7036, 4672, 327, 261, 1897, 12, 2890, 18, 4481, 13, 422, 404, 471, 562, 12, 2890, 18, 29892, 13, 422, 404, 13, 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, -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, -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, -100, -100, -100, -100, -100 ]
price_french = 'retir'
price_french = u'retiré'
def create_xml(self,cr, uid, ids, datas, context={}): pool= pooler.get_pool(cr.dbname) lots = pool.get('auction.lots').browse(cr, uid, ids) auction = lots[0].auction_id
d67eab9c0738265a32d9a3a3c97bf483bec06581 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/7397/d67eab9c0738265a32d9a3a3c97bf483bec06581/huissier.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 752, 67, 2902, 12, 2890, 16, 3353, 16, 4555, 16, 3258, 16, 5386, 16, 819, 12938, 4672, 2845, 33, 2845, 264, 18, 588, 67, 6011, 12, 3353, 18, 20979, 13, 328, 6968, 273, 2845, 18, 588, 2668, 69, 4062, 18, 80, 6968, 16063, 25731, 12, 3353, 16, 4555, 16, 3258, 13, 279, 4062, 273, 328, 6968, 63, 20, 8009, 69, 4062, 67, 350, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 67, 2902, 12, 2890, 16, 3353, 16, 4555, 16, 3258, 16, 5386, 16, 819, 12938, 4672, 2845, 33, 2845, 264, 18, 588, 67, 6011, 12, 3353, 18, 20979, 13, 328, 6968, 273, 2845, 18, 588, 2668, 69, 4062, 18, 80, 6968, 16063, 25731, 12, 3353, 16, 4555, 16, 3258, 13, 279, 4062, 273, 328, 6968, 63, 20, 8009, 69, 4062, 67, 350, 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, -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, -100 ]
self.timer_inc = gtk.timeout_add(self.timerinc, self.timer_inc_display) print("Gcompris_ballcatch start.")
self.timer_inc = gobject.timeout_add(self.timerinc, self.timer_inc_display)
def start(self): self.gcomprisBoard.level=1 self.gcomprisBoard.maxlevel=9 self.gcomprisBoard.sublevel=1 self.gcomprisBoard.number_of_sublevel=1 gcompris.bar_set(gcompris.BAR_LEVEL) gcompris.set_background(self.gcomprisBoard.canvas.root(), "images/beach.png") gcompris.bar_set_level(self.gcomprisBoard)
47c7b2de69f2ef74a5ccace1a52699180780bde1 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/11306/47c7b2de69f2ef74a5ccace1a52699180780bde1/ballcatch.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 787, 12, 2890, 4672, 365, 18, 75, 832, 683, 291, 22233, 18, 2815, 33, 21, 365, 18, 75, 832, 683, 291, 22233, 18, 1896, 2815, 33, 29, 365, 18, 75, 832, 683, 291, 22233, 18, 87, 1255, 941, 33, 21, 365, 18, 75, 832, 683, 291, 22233, 18, 2696, 67, 792, 67, 87, 1255, 941, 33, 21, 314, 832, 683, 291, 18, 3215, 67, 542, 12, 75, 832, 683, 291, 18, 21908, 67, 10398, 13, 314, 832, 683, 291, 18, 542, 67, 9342, 12, 2890, 18, 75, 832, 683, 291, 22233, 18, 15424, 18, 3085, 9334, 315, 7369, 19, 2196, 497, 18, 6446, 7923, 314, 832, 683, 291, 18, 3215, 67, 542, 67, 2815, 12, 2890, 18, 75, 832, 683, 291, 22233, 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, 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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 787, 12, 2890, 4672, 365, 18, 75, 832, 683, 291, 22233, 18, 2815, 33, 21, 365, 18, 75, 832, 683, 291, 22233, 18, 1896, 2815, 33, 29, 365, 18, 75, 832, 683, 291, 22233, 18, 87, 1255, 941, 33, 21, 365, 18, 75, 832, 683, 291, 22233, 18, 2696, 67, 792, 67, 87, 1255, 941, 33, 21, 314, 832, 683, 291, 18, 3215, 67, 542, 12, 75, 832, 683, 291, 18, 21908, 67, 10398, 13, 314, 832, 683, 291, 18, 542, 67, 9342, 12, 2890, 18, 75, 832, 683, 291, 22233, 18, 15424, 18, 3085, 9334, 315, 7369, 19, 2196, 497, 18, 6446, 7923, 314, 832, 683, 291, 18, 3215, 67, 542, 67, 2815, 12, 2890, 18, 75, 2 ]
descr='test short chk commands'
descr='''test short chk commands'''
def test_short_syntax(): uname = 'user_test' gname = 'group_test' pname = 'profil_test' ScenarioTest([ ADD + [ 'user', uname, '-v' ], GET + [ 'user', uname ], ADD + [ 'group', gname, '-v' ], GET + [ 'group', gname ], ADD + [ 'user', uname, gname, '-v' ], GET + [ 'user', uname, '-l' ], ADD + [ 'group', '%s2' % gname, '-v' ], GET + [ 'group', '%s2' % gname ], ADD + [ 'group', '%s3,%s4' % (gname, gname), '-v' ], # should fail (already present) GET + [ 'group', '%s3,%s4' % (gname, gname) ], # should add user2 & user3 ADD + [ 'user', '%s2,%s3' % (uname, uname), '-v' ], GET + [ 'user', '%s2,%s3' % (uname, uname) ], # add 2 users in 3 groups each ADD + [ 'user', '%s2,%s3' % (uname, uname), '%s2,%s3,%s4' % (gname,gname,gname), '-v' ], GET + [ 'user', '%s2,%s3' % (uname, uname), '-l' ], # should add ONLY ONE user in a group and bypass empty one ADD + [ 'user', ',%s' % uname, ',%s2' % gname, '-v' ], # idem ADD + [ 'user', '%s,' % uname, '%s3,' % gname, '-v' ], GET + [ 'user', uname, '-l' ], # should delete only one user and bypass empty one DEL + [ 'user', ',%s' % uname, '-v'], # should fail (already deleted) DEL + [ 'user', '%s,' % uname, '-v'], # IDEM DEL + [ 'user', uname, '-v'], # delete 2 users at same time DEL + [ 'user', '%s2,%s3' % (uname, uname), '-v'], # delete groups, one, then two, then one (bypassing empty) DEL + [ 'group', gname, '-v'], DEL + [ 'group', '%s2,%s3' % (gname, gname), '-v'], DEL + [ 'group', ',%s4' % gname, '-v'], DEL + [ 'group', '%s4,' % gname, '-v'], DEL + [ 'group', '%s4' % gname, '-v'], ], descr='test short users/groups commands' ).Run() ScenarioTest([ ADD + [ 'group', gname, '-v' ], #should fail (the group is not a system group) ADD + [ 'privilege', gname, '-v' ], GET + [ 'privileges' ], ADD + [ 'group', '%ssys' % gname, '--system', '-v' ], ADD + [ 'privilege', '%ssys' % gname, '-v' ], GET + [ 'privileges' ], DEL + [ 'privilege', '%ssys' % gname ], GET + [ 'privileges' ], DEL + [ 'group', gname ], DEL + [ 'group', '%ssys' % gname ], ], descr='test short privileges commands' ).Run() ScenarioTest([ ADD + [ 'group', gname, '--system', '-v' ], ADD + [ 'group', '%s2' % gname, '-v' ], ADD + [ 'group', '%s3' % gname, '-v' ], # should fail (not a system group) ADD + [ 'profile', pname, '--group=%s2' % gname, '--force-existing' ], GET + [ 'profiles' ], # should be OK ADD + [ 'profile', pname, '--group=%s' % gname, '--force-existing' ], GET + [ 'profiles' ], MOD + [ 'profile', pname, '--add-groups=%s2,%s3' % (gname,gname) ], GET + [ 'profiles' ], MOD + [ 'profile', pname, '--del-groups=%s2,%s3' % (gname,gname) ], GET + [ 'profiles' ], DEL + [ 'profile', pname ], DEL + [ 'group', '%s2' % gname, '-v' ], DEL + [ 'group', '%s3' % gname, '-v' ], GET + [ 'profiles' ], ], descr='test short profiles commands' ).Run() ScenarioTest([ ADD + [ 'group', gname, '-v' ], ADD + [ 'group', '%s2' % gname, '-v' ], CHK + [ 'group', gname, '--auto-no', '-vv' ], CHK + [ 'group', gname, '--auto-yes', '-vv' ], CHK + [ 'group', gname, '-vb' ], CHK + [ 'group', '%s,%s2' % (gname,gname), '--auto-no', '-vv' ], CHK + [ 'group', '%s,%s2' % (gname,gname), '--auto-yes', '-vv' ], CHK + [ 'group', '%s,%s2' % (gname,gname), '-vb' ], DEL + [ 'group', '%s,%s2' % (gname,gname), '-v' ], CHK + [ 'config','--auto-no', '-vvae' ], CHK + [ 'config','--auto-yes', '-vvae' ], CHK + [ 'config','--batch', '-vvae' ], ADD + [ 'user', uname, '-v' ], CHK + [ 'user', uname, '--auto-no', '-v' ], CHK + [ 'user', uname, '--auto-yes', '-v' ], CHK + [ 'user', uname, '-vb' ], DEL + [ 'user', uname, '-v' ], ], descr='test short chk commands' ).Run() """ # extended check on user not implemented yet CHK + [ 'user', '%s,%s2' % (uname,uname), '--auto-no', '-vve' ], CHK + [ 'user', '%s,%s2' % (uname,uname), '--auto-yes', '-vve' ], CHK + [ 'user', '%s,%s2' % (uname,uname), '--batch', '-vve' ], DEL + [ 'user', '%s,%s2' % (uname,uname), '-v' ], # check on profile not implemented yet ADD + [ 'profile', '%s,%s2' % (pname,pname), '-v' ], CHK + [ 'profile', pname, '--auto-no', '-vve' ], CHK + [ 'profile', pname, '--auto-yes', '-vve' ], CHK + [ 'profile', pname, '--batch', '-vve' ], CHK + [ 'profile', '%s,%s2' % (pname,pname), '--auto-no', '-vve' ], CHK + [ 'profile', '%s,%s2' % (pname,pname), '--auto-yes', '-vve' ], CHK + [ 'profile', '%s,%s2' % (pname,pname), '--batch', '-vve' ], DEL + [ 'profile', '%s,%s2' % (pname,pname), '-v' ], """
38a496a61795ec7fb8b2f6589579ac75d0b90d9d /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/7650/38a496a61795ec7fb8b2f6589579ac75d0b90d9d/core.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 67, 6620, 67, 14308, 13332, 31444, 273, 296, 1355, 67, 3813, 11, 314, 529, 273, 296, 1655, 67, 3813, 11, 19952, 273, 296, 685, 7540, 67, 3813, 11, 225, 2850, 7754, 4709, 3816, 11689, 397, 306, 296, 1355, 2187, 31444, 16, 2400, 90, 11, 308, 16, 4978, 397, 306, 296, 1355, 2187, 31444, 308, 16, 11689, 397, 306, 296, 1655, 2187, 314, 529, 16, 2400, 90, 11, 308, 16, 4978, 397, 306, 296, 1655, 2187, 314, 529, 308, 16, 11689, 397, 306, 296, 1355, 2187, 31444, 16, 314, 529, 16, 2400, 90, 11, 308, 16, 4978, 397, 306, 296, 1355, 2187, 31444, 16, 2400, 80, 11, 308, 16, 11689, 397, 306, 296, 1655, 2187, 1995, 87, 22, 11, 738, 314, 529, 16, 2400, 90, 11, 308, 16, 4978, 397, 306, 296, 1655, 2187, 1995, 87, 22, 11, 738, 314, 529, 308, 16, 11689, 397, 306, 296, 1655, 2187, 1995, 87, 23, 15529, 87, 24, 11, 738, 261, 75, 529, 16, 314, 529, 3631, 2400, 90, 11, 308, 16, 468, 1410, 2321, 261, 17583, 3430, 13, 4978, 397, 306, 296, 1655, 2187, 1995, 87, 23, 15529, 87, 24, 11, 738, 261, 75, 529, 16, 314, 529, 13, 308, 16, 468, 1410, 527, 729, 22, 473, 729, 23, 11689, 397, 306, 296, 1355, 2187, 1995, 87, 22, 15529, 87, 23, 11, 738, 261, 318, 339, 16, 31444, 3631, 2400, 90, 11, 308, 16, 4978, 397, 306, 296, 1355, 2187, 1995, 87, 22, 15529, 87, 23, 11, 738, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 6620, 67, 14308, 13332, 31444, 273, 296, 1355, 67, 3813, 11, 314, 529, 273, 296, 1655, 67, 3813, 11, 19952, 273, 296, 685, 7540, 67, 3813, 11, 225, 2850, 7754, 4709, 3816, 11689, 397, 306, 296, 1355, 2187, 31444, 16, 2400, 90, 11, 308, 16, 4978, 397, 306, 296, 1355, 2187, 31444, 308, 16, 11689, 397, 306, 296, 1655, 2187, 314, 529, 16, 2400, 90, 11, 308, 16, 4978, 397, 306, 296, 1655, 2187, 314, 529, 308, 16, 11689, 397, 306, 296, 1355, 2187, 31444, 16, 314, 529, 16, 2400, 90, 11, 308, 16, 4978, 397, 306, 296, 1355, 2187, 31444, 16, 2400, 80, 11, 308, 16, 11689, 397, 306, 296, 1655, 2187, 1995, 87, 22, 2 ]
print self.portal.REQUEST.get_header('If-Modified-Since')
def testContentLengthHeaders(self): # Test that the main page retains its content-type self.setRoles(['Manager'])
b65a26d6c5aa3ebd7cf5adefce3cf1cd29d07496 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12274/b65a26d6c5aa3ebd7cf5adefce3cf1cd29d07496/testHTTPHeaders.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 1350, 1782, 3121, 12, 2890, 4672, 468, 7766, 716, 326, 2774, 1363, 325, 4167, 2097, 913, 17, 723, 365, 18, 542, 6898, 12, 3292, 1318, 19486, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1842, 1350, 1782, 3121, 12, 2890, 4672, 468, 7766, 716, 326, 2774, 1363, 325, 4167, 2097, 913, 17, 723, 365, 18, 542, 6898, 12, 3292, 1318, 19486, 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, -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, -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, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
return offset
def _leftDrawParaLineX( tx, offset, line, last=0): setXPos(tx,offset) _putFragLine(tx, line) setXPos(tx,-offset) return offset
ae97b90f6a178f0d7566cbd8acc91dc0dd0700c1 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/7053/ae97b90f6a178f0d7566cbd8acc91dc0dd0700c1/paragraph.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 4482, 6493, 23529, 1670, 60, 12, 2229, 16, 1384, 16, 980, 16, 1142, 33, 20, 4672, 23733, 1616, 12, 978, 16, 3348, 13, 389, 458, 19509, 1670, 12, 978, 16, 980, 13, 23733, 1616, 12, 978, 16, 17, 3348, 13, 225, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 4482, 6493, 23529, 1670, 60, 12, 2229, 16, 1384, 16, 980, 16, 1142, 33, 20, 4672, 23733, 1616, 12, 978, 16, 3348, 13, 389, 458, 19509, 1670, 12, 978, 16, 980, 13, 23733, 1616, 12, 978, 16, 17, 3348, 13, 225, 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, -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, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
timeout = property(getTimeout, setTimeout, "Timeout setting for read()")
timeout = property(getTimeout, setTimeout, doc="Timeout setting for read()")
def getTimeout(self): """Get the current timeout setting.""" return self._timeout
0276f5e57fe7c17ae1f07b8f3b480aa7b5809b56 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2937/0276f5e57fe7c17ae1f07b8f3b480aa7b5809b56/serialutil.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 29301, 12, 2890, 4672, 3536, 967, 326, 783, 2021, 3637, 12123, 327, 365, 6315, 4538, 225, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 29301, 12, 2890, 4672, 3536, 967, 326, 783, 2021, 3637, 12123, 327, 365, 6315, 4538, 225, 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, -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, -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, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
select A.ID, A.Value2, B.ID, B.Value2 from Dsc as A, Fdf as B
select A.ID, A.Value2, A.BelongsToFile, B.ID, B.Value2, B.BelongsToFile from Dsc as A, Fdf as B
def MetaDataFileCheckPcdDuplicate(self): if EccGlobalData.gConfig.MetaDataFileCheckPcdDuplicate == '1' or EccGlobalData.gConfig.MetaDataFileCheckAll == '1' or EccGlobalData.gConfig.CheckAll == '1': EdkLogger.quiet("Checking for duplicate PCDs defined in both DSC and FDF files ...") SqlCommand = """ select A.ID, A.Value2, B.ID, B.Value2 from Dsc as A, Fdf as B where A.Model >= %s and A.Model < %s and B.Model >= %s and B.Model < %s and A.Value2 = B.Value2 and A.Enabled > -1 and B.Enabled > -1 group by A.ID """% (MODEL_PCD, MODEL_META_DATA_HEADER, MODEL_PCD, MODEL_META_DATA_HEADER) RecordSet = EccGlobalData.gDb.TblDsc.Exec(SqlCommand) for Record in RecordSet: if not EccGlobalData.gException.IsException(ERROR_META_DATA_FILE_CHECK_PCD_DUPLICATE, Record[1]): EccGlobalData.gDb.TblReport.Insert(ERROR_META_DATA_FILE_CHECK_PCD_DUPLICATE, OtherMsg = "The PCD [%s] is defined in both FDF file and DSC file" % (Record[1]), BelongsToTable = 'Dsc', BelongsToItem = Record[0]) if not EccGlobalData.gException.IsException(ERROR_META_DATA_FILE_CHECK_PCD_DUPLICATE, Record[3]): EccGlobalData.gDb.TblReport.Insert(ERROR_META_DATA_FILE_CHECK_PCD_DUPLICATE, OtherMsg = "The PCD [%s] is defined in both FDF file and DSC file" % (Record[3]), BelongsToTable = 'Fdf', BelongsToItem = Record[2])
b423ebb46e17d3d737bedec9420123dffb494003 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/914/b423ebb46e17d3d737bedec9420123dffb494003/Check.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 27512, 812, 1564, 52, 4315, 11826, 12, 2890, 4672, 309, 512, 952, 5160, 751, 18, 75, 809, 18, 6998, 812, 1564, 52, 4315, 11826, 422, 296, 21, 11, 578, 512, 952, 5160, 751, 18, 75, 809, 18, 6998, 812, 1564, 1595, 422, 296, 21, 11, 578, 512, 952, 5160, 751, 18, 75, 809, 18, 1564, 1595, 422, 296, 21, 4278, 512, 2883, 3328, 18, 20380, 2932, 14294, 364, 6751, 453, 10160, 87, 2553, 316, 3937, 463, 2312, 471, 478, 4577, 1390, 1372, 7923, 8855, 2189, 273, 3536, 2027, 432, 18, 734, 16, 432, 18, 620, 22, 16, 432, 18, 18097, 7260, 15450, 16, 605, 18, 734, 16, 605, 18, 620, 22, 16, 605, 18, 18097, 7260, 15450, 628, 463, 1017, 487, 432, 16, 478, 2180, 487, 605, 1625, 432, 18, 1488, 1545, 738, 87, 471, 432, 18, 1488, 411, 738, 87, 471, 605, 18, 1488, 1545, 738, 87, 471, 605, 18, 1488, 411, 738, 87, 471, 432, 18, 620, 22, 273, 605, 18, 620, 22, 471, 432, 18, 1526, 405, 300, 21, 471, 605, 18, 1526, 405, 300, 21, 1041, 635, 432, 18, 734, 3536, 9, 261, 17391, 67, 3513, 40, 16, 21700, 67, 19294, 67, 4883, 67, 7557, 16, 21700, 67, 3513, 40, 16, 21700, 67, 19294, 67, 4883, 67, 7557, 13, 5059, 694, 273, 512, 952, 5160, 751, 18, 75, 4331, 18, 22592, 40, 1017, 18, 1905, 12, 5101, 2189, 13, 364, 5059, 316, 5059, 694, 30, 309, 486, 512, 952, 5160, 751, 18, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 27512, 812, 1564, 52, 4315, 11826, 12, 2890, 4672, 309, 512, 952, 5160, 751, 18, 75, 809, 18, 6998, 812, 1564, 52, 4315, 11826, 422, 296, 21, 11, 578, 512, 952, 5160, 751, 18, 75, 809, 18, 6998, 812, 1564, 1595, 422, 296, 21, 11, 578, 512, 952, 5160, 751, 18, 75, 809, 18, 1564, 1595, 422, 296, 21, 4278, 512, 2883, 3328, 18, 20380, 2932, 14294, 364, 6751, 453, 10160, 87, 2553, 316, 3937, 463, 2312, 471, 478, 4577, 1390, 1372, 7923, 8855, 2189, 273, 3536, 2027, 432, 18, 734, 16, 432, 18, 620, 22, 16, 432, 18, 18097, 7260, 15450, 16, 605, 18, 734, 16, 605, 18, 620, 22, 16, 605, 18, 18097, 7260, 15450, 628, 2 ]
self._decomp = Sequence([DirichletGroup(p**r,R) for p, r \
return Sequence([DirichletGroup(p**r,R) for p, r \
def decomposition(self): r""" Returns the Dirichlet groups of prime power modulus corresponding to primes dividing modulus.
9c9051916e82d8e6549f10cbafc69b92d5f2a89f /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/9417/9c9051916e82d8e6549f10cbafc69b92d5f2a89f/dirichlet.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 26288, 12, 2890, 4672, 436, 8395, 2860, 326, 8446, 1354, 1810, 3252, 434, 17014, 7212, 24770, 4656, 358, 846, 4485, 3739, 10415, 24770, 18, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, -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, -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, -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, -100, -100, -100, -100, -100, -100 ]
sqc = SGEQueueConfig(runCommand(sge_queue_config_cmd, cp))
def getQueueInfo(cp): """ Looks up the queue and job information from SGE. @param cp: Configuration of site. @returns: A dictionary of queue data and a dictionary of job data. """ queue_list = {} sqc = SGEQueueConfig(runCommand(sge_queue_config_cmd, cp)) xml = runCommand(sge_queue_info_cmd, cp) handler = QueueInfoParser() parseXmlSax(xml, handler) queue_info = handler.getQueueInfo() for queue in queue_info: # get queue name name = queue['name'][:find(name, "@")] if not queue_list[name]: queue_list[name] = {'slots_used': 0, 'slots_total': 0, 'slots_free': 0, 'name' : name} queue_list[name]['slots_used'] += int(queue['slots_used']) queue_list[name]['slots_total'] += int(queue['slots_total']) queue_list[name]['slots_free'] = queue_list[name]['slots_total'] - queue_list[name]['slots_used'] queue_list[name]['arch'] = queue["arch"] queue_list[name]['max_running'] = queue_list[name]['slots_total'] state = queue["state"] if state == "d": status = "Draining" elif state == "s": status = "Closed" else: status = "Production" queue_list[name]['status'] = status queue_list[name]['priority'] = 0 # No such thing that I can find for a queue # How do you handle queues with no limit? if sqc['s_rt'].lower() == 'infinity': sqc['s_rt'] = '99999' if sqc['h_rt'].lower() == 'infinity': sqc['h_rt'] = '99999' max_wall = min(sqc['s_rt'], sqc['h_rt']) if not queue_list[name]['max_wall']: queue_list[name]['max_wall'] = max_wall else: queue_list[name]['max_wall'] = min(max_wall, queue_list[name]['max_wall']) waiting_jobs = 0 for job in queue_info['waiting']: waiting_jobs += 1 queue_list['waiting']['waiting'] = waiting_jobs return queue_list, queue_info
2289381e5c89a3d026abfdf686951ad780ff7492 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/12088/2289381e5c89a3d026abfdf686951ad780ff7492/sge_common.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 19511, 966, 12, 4057, 4672, 3536, 10176, 87, 731, 326, 2389, 471, 1719, 1779, 628, 348, 7113, 18, 225, 632, 891, 3283, 30, 4659, 434, 2834, 18, 632, 6154, 30, 432, 3880, 434, 2389, 501, 471, 279, 3880, 434, 1719, 501, 18, 3536, 2389, 67, 1098, 273, 2618, 2025, 273, 31933, 12, 87, 908, 67, 4000, 67, 1376, 67, 4172, 16, 3283, 13, 1838, 273, 7530, 966, 2678, 1435, 1109, 4432, 55, 651, 12, 2902, 16, 1838, 13, 2389, 67, 1376, 273, 1838, 18, 588, 3183, 966, 1435, 364, 2389, 316, 2389, 67, 1376, 30, 468, 336, 2389, 508, 508, 273, 2389, 3292, 529, 3546, 10531, 4720, 12, 529, 16, 8787, 7923, 65, 309, 486, 2389, 67, 1098, 63, 529, 14542, 2389, 67, 1098, 63, 529, 65, 273, 13666, 18875, 67, 3668, 4278, 374, 16, 296, 18875, 67, 4963, 4278, 374, 16, 296, 18875, 67, 9156, 4278, 374, 16, 296, 529, 11, 294, 508, 97, 225, 2389, 67, 1098, 63, 529, 23962, 18875, 67, 3668, 3546, 1011, 509, 12, 4000, 3292, 18875, 67, 3668, 19486, 2389, 67, 1098, 63, 529, 23962, 18875, 67, 4963, 3546, 1011, 509, 12, 4000, 3292, 18875, 67, 4963, 19486, 2389, 67, 1098, 63, 529, 23962, 18875, 67, 9156, 3546, 273, 2389, 67, 1098, 63, 529, 23962, 18875, 67, 4963, 3546, 300, 2389, 67, 1098, 63, 529, 23962, 18875, 67, 3668, 3546, 2389, 67, 1098, 63, 529, 23962, 991, 3546, 273, 2389, 9614, 991, 11929, 2389, 67, 1098, 63, 529, 23962, 1896, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 19511, 966, 12, 4057, 4672, 3536, 10176, 87, 731, 326, 2389, 471, 1719, 1779, 628, 348, 7113, 18, 225, 632, 891, 3283, 30, 4659, 434, 2834, 18, 632, 6154, 30, 432, 3880, 434, 2389, 501, 471, 279, 3880, 434, 1719, 501, 18, 3536, 2389, 67, 1098, 273, 2618, 2025, 273, 31933, 12, 87, 908, 67, 4000, 67, 1376, 67, 4172, 16, 3283, 13, 1838, 273, 7530, 966, 2678, 1435, 1109, 4432, 55, 651, 12, 2902, 16, 1838, 13, 2389, 67, 1376, 273, 1838, 18, 588, 3183, 966, 1435, 364, 2389, 316, 2389, 67, 1376, 30, 468, 336, 2389, 508, 508, 273, 2389, 3292, 529, 3546, 10531, 4720, 12, 529, 16, 8787, 7923, 65, 309, 486, 2389, 67, 1098, 2 ]
raise ConfigurationError(str(e))
raise ConfigurationError(unicode(e))
def getConfigClass(path): # This is implemented this way in order to import only the modules # that are requested. try: module = _getModule(path[0]) except InstantiationError, e: raise ConfigurationError(str(e)) return module.getConfigClass(path[1:])
a141192d53c691b0c801176b614c23983bcf0a22 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/5223/a141192d53c691b0c801176b614c23983bcf0a22/modelbasefactory.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4367, 797, 12, 803, 4672, 468, 1220, 353, 8249, 333, 4031, 316, 1353, 358, 1930, 1338, 326, 4381, 468, 716, 854, 3764, 18, 225, 775, 30, 1605, 273, 389, 588, 3120, 12, 803, 63, 20, 5717, 1335, 18069, 668, 16, 425, 30, 1002, 27507, 12, 9124, 12, 73, 3719, 225, 327, 1605, 18, 588, 809, 797, 12, 803, 63, 21, 30, 5717, 225, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,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326, 4381, 468, 716, 854, 3764, 18, 225, 775, 30, 1605, 273, 389, 588, 3120, 12, 803, 63, 20, 5717, 1335, 18069, 668, 16, 425, 30, 1002, 27507, 12, 9124, 12, 73, 3719, 225, 327, 1605, 18, 588, 809, 797, 12, 803, 63, 21, 30, 5717, 225, 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, -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, -100 ]
if cond._num_streams < (2*num_routers*count)/3:
if num_streams < 0.65*((num_routers*count)/2.0):
def notlambda(this): cond.acquire() # TODO: Using the entry_gen router list is somewhat ghetto.. if (not this.selmgr.bad_restrictions) or \ (this.selmgr.path_selector.entry_gen.rstr_routers and \ this.selmgr.path_selector.exit_gen.rstr_routers): for r in this.selmgr.path_selector.entry_gen.rstr_routers: if r._generated[position] < count: cond._finished = False plog("DEBUG", "Entry router "+r.idhex+"="+r.nickname+" not done: "+str(r._generated[position])+", down: "+str(r.down)+", OK: "+str(this.selmgr.path_selector.entry_gen.rstr_list.r_is_ok(r))+", sorted_r: "+str(r in this.sorted_r)) # XXX: #break for r in this.selmgr.path_selector.exit_gen.rstr_routers: if r._generated[position] < count: cond._finished = False plog("DEBUG", "Exit router "+r.idhex+"="+r.nickname+" not done: "+str(r._generated[position])+", down: "+str(r.down)+", OK: "+str(this.selmgr.path_selector.exit_gen.rstr_list.r_is_ok(r))+", sorted_r: "+str(r in this.sorted_r)) # XXX: #break if cond._finished: num_routers = len( sets.Set(this.selmgr.path_selector.entry_gen.rstr_routers + this.selmgr.path_selector.exit_gen.rstr_routers)) if cond._num_streams < (2*num_routers*count)/3: plog("WARN", "Not enough streams yet. "+str(num_streams)+" < "+ str(2*num_routers*count/3)) cond._finished = False cond.notify() cond.release()
7f016d6db7a45b8863c264cadeb5df5c6efd63ba /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/3762/7f016d6db7a45b8863c264cadeb5df5c6efd63ba/bwauthority.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 486, 14661, 12, 2211, 4672, 6941, 18, 1077, 1039, 1435, 468, 2660, 30, 11637, 326, 1241, 67, 4507, 4633, 666, 353, 18016, 11304, 21409, 278, 869, 838, 309, 261, 902, 333, 18, 1786, 13552, 18, 8759, 67, 23954, 87, 13, 578, 521, 261, 2211, 18, 1786, 13552, 18, 803, 67, 9663, 18, 4099, 67, 4507, 18, 86, 701, 67, 7028, 414, 471, 521, 333, 18, 1786, 13552, 18, 803, 67, 9663, 18, 8593, 67, 4507, 18, 86, 701, 67, 7028, 414, 4672, 364, 436, 316, 333, 18, 1786, 13552, 18, 803, 67, 9663, 18, 4099, 67, 4507, 18, 86, 701, 67, 7028, 414, 30, 309, 436, 6315, 11168, 63, 3276, 65, 411, 1056, 30, 6941, 6315, 13527, 273, 1083, 293, 1330, 2932, 9394, 3113, 315, 1622, 4633, 13773, 86, 18, 350, 7118, 9078, 1546, 15, 86, 18, 17091, 529, 9078, 486, 2731, 30, 13773, 701, 12, 86, 6315, 11168, 63, 3276, 5717, 15, 3113, 2588, 30, 13773, 701, 12, 86, 18, 2378, 27921, 3113, 7791, 30, 13773, 701, 12, 2211, 18, 1786, 13552, 18, 803, 67, 9663, 18, 4099, 67, 4507, 18, 86, 701, 67, 1098, 18, 86, 67, 291, 67, 601, 12, 86, 3719, 15, 3113, 3115, 67, 86, 30, 13773, 701, 12, 86, 316, 333, 18, 10350, 67, 86, 3719, 468, 11329, 30, 468, 8820, 364, 436, 316, 333, 18, 1786, 13552, 18, 803, 67, 9663, 18, 8593, 67, 4507, 18, 86, 701, 67, 7028, 414, 30, 309, 436, 6315, 11168, 63, 3276, 65, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 486, 14661, 12, 2211, 4672, 6941, 18, 1077, 1039, 1435, 468, 2660, 30, 11637, 326, 1241, 67, 4507, 4633, 666, 353, 18016, 11304, 21409, 278, 869, 838, 309, 261, 902, 333, 18, 1786, 13552, 18, 8759, 67, 23954, 87, 13, 578, 521, 261, 2211, 18, 1786, 13552, 18, 803, 67, 9663, 18, 4099, 67, 4507, 18, 86, 701, 67, 7028, 414, 471, 521, 333, 18, 1786, 13552, 18, 803, 67, 9663, 18, 8593, 67, 4507, 18, 86, 701, 67, 7028, 414, 4672, 364, 436, 316, 333, 18, 1786, 13552, 18, 803, 67, 9663, 18, 4099, 67, 4507, 18, 86, 701, 67, 7028, 414, 30, 309, 436, 6315, 11168, 63, 3276, 65, 411, 1056, 30, 6941, 6315, 13527, 273, 2 ]
users.remove(user) result = self.main.dbus_action.do_exec( users ,remote_cmd )
else: newusernames.append(user) result = self.main.dbus_action.do_exec( newusernames ,remote_cmd )
def menu_event_one(self, action): start1=time() (model, iter) = self.main.tabla.get_selection().get_selected() if iter == None: print_debug( "menu_event_one() not selected thin client !!!" ) return self.main.selected_host=model.get_value(iter,COL_HOST) self.main.selected_ip=model.get_value(iter, COL_IP) if not self.doaction_onthisclient(action, self.main.selected_ip): # show a msg shared.info_msg ( _("Can't exec this action because you are connected at this host!") ) return if action == 0: # refresh terminal # call to read remote info self.main.xmlrpc.newhost(self.main.selected_ip) self.main.xmlrpc.ip=self.main.selected_ip self.main.worker=shared.Workers( self.main,\ target=self.populate_datatxt, args=([self.main.selected_ip]) ).start() if action == 1: # clean datatxtbuffer self.main.datatxt.clean() if action == 2: # Ask for reboot reboot ip=self.main.selected_ip msg=_( _("Do you want to reboot %s?" ) %(self.main.selected_ip) ) if shared.ask_msg ( msg ): self.main.xmlrpc.Exe("reboot") if action == 3: # Ask for poweroff reboot msg=_( _("Do you want to poweroff %s?" ) %(self.main.selected_ip) ) if shared.ask_msg ( msg ): self.main.xmlrpc.Exe("poweroff") if action == 4: # lock screen if not self.main.xmlrpc.lockscreen(): shared.error_msg( _("Can't connect to tcosxmlrpc.\nPlease verify user and password in prefences!") ) return self.change_lockscreen(self.main.selected_ip) if action == 5: # unlock screen if not self.main.xmlrpc.unlockscreen(): shared.error_msg( _("Can't connect to tcosxmlrpc.\nPlease verify user and password in prefences!") ) return self.change_lockscreen(self.main.selected_ip) if action == 6: # start ivs self.main.worker=shared.Workers(self.main, target=self.start_ivs, args=([self.main.selected_ip]) ) self.main.worker.start() if action == 7: # start vnc self.main.worker=shared.Workers(self.main, target=self.start_vnc, args=([self.main.selected_ip]) ) self.main.worker.start() if action == 8: # screenshot !!! self.main.worker=shared.Workers(self.main, target=self.get_screenshot, args=[self.main.selected_ip]) self.main.worker.start() if action == 9: # give a remote xterm throught SSH pass_msg=_("Enter password of remote thin client (if asked for it)") cmd="xterm -e \"echo '%s'; ssh root@%s\"" %(pass_msg, self.main.selected_ip) print_debug ( "menu_event_one(%d) cmd=%s" %(action, cmd) ) th=self.main.exe_cmd( cmd ) if action == 10: # launch personalize settings if client is TCOS (PXES and LTSP not supported) client_type = self.main.xmlrpc.ReadInfo("get_client") if client_type == "tcos": cmd="gksu \"tcospersonalize --host=%s\"" %(self.main.selected_ip) print_debug ( "menu_event_one(%d) cmd=%s" %(action, cmd) ) th=self.main.exe_cmd( cmd ) else: shared.info_msg( _("%s is not supported to personalize!") %(client_type) ) if action == 11: # reset xorg # Ask for it if not self.main.localdata.IsLogged(self.main.selected_ip): shared.error_msg ( _("Can't logout, user is not logged") ) return user=self.main.localdata.GetUsernameAndHost(self.main.selected_ip) print_debug("menu_event_one() user=%s" %user) msg=_( _("Do you want to logout user \"%s\"?" ) %(user) ) if shared.ask_msg ( msg ): newusernames=[] remote_cmd="/usr/lib/tcos/session-cmd-send LOGOUT" if user.find(":") != -1: # we have a standalone user... usern, ip = user.split(":") self.main.xmlrpc.newhost(ip) self.main.xmlrpc.DBus("exec", remote_cmd ) else: newusernames.append(user) result = self.main.dbus_action.do_exec(newusernames ,remote_cmd ) if not result: shared.error_msg ( _("Error while exec remote app:\nReason:%s") %( self.main.dbus_action.get_error_msg() ) ) if action == 12: # restart xorg with new settings # thin client must download again XXX.XXX.XXX.XXX.conf and rebuild xorg.conf client_type = self.main.xmlrpc.ReadInfo("get_client") if client_type == "tcos": msg=_( "Restart X session of %s with new config?" ) %(self.main.selected_ip) if shared.ask_msg ( msg ): # see xmlrpc/xorg.h, rebuild will download and sed xorg.conf.tpl self.main.xmlrpc.tc.tcos.xorg("rebuild", "--restartxorg", \ self.main.xmlrpc.username, \ self.main.xmlrpc.password ) self.refresh_client_info(self.main.selected_ip) else: shared.info_msg( _("%s is not supported to restart Xorg!") %(client_type) ) if action == 13: # exec app self.askfor(mode="exec", users=[self.main.localdata.GetUsernameAndHost(self.main.selected_ip)]) if action == 14: # send message self.askfor(mode="mess", users=[self.main.localdata.GetUsernameAndHost(self.main.selected_ip)] ) if action == 15: print_debug ("menu_event_one() show running apps" ) self.get_user_processes(self.main.selected_ip) if action == 16: # action sent by vidal_joshur at gva dot es # start video broadcast mode # search for connected users users=[self.main.localdata.GetUsernameAndHost(self.main.selected_ip)] client=[self.main.selected_ip] dialog = gtk.FileChooserDialog(_("Select audio/video file.."), None, gtk.FILE_CHOOSER_ACTION_OPEN, (_("Play DVD"), 1, _("Play SVCD/VCD"), 2, _("Play AudioCD"), 3, gtk.STOCK_CANCEL, gtk.RESPONSE_CANCEL, gtk.STOCK_OPEN, gtk.RESPONSE_OK)) dialog.set_default_response(gtk.RESPONSE_OK) self.folder = self._folder = os.environ['HOME'] dialog.set_current_folder(self.folder) filter = gtk.FileFilter() filter.set_name("Media Files ( *.avi, *.mpg, *.mpeg, *.mp3, *.wav, etc.. )") file_types=["*.avi", "*.mpg", "*.mpeg", "*.ogg", "*.ogm", "*.asf", "*.divx", "*.wmv", "*.vob", "*.m2v", "*.m4v", "*.mp2", "*.mp4", "*.ac3", "*.ogg", "*.mp1", "*.mp2", "*.mp3", "*.wav", "*.wma"] for elem in file_types: filter.add_pattern( elem ) dialog.add_filter(filter) filter = gtk.FileFilter() filter.set_name("All Files") filter.add_pattern("*.*") dialog.add_filter(filter)
53a3eea66bbc168c70ea325ef8439de22d83ed8b /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/13520/53a3eea66bbc168c70ea325ef8439de22d83ed8b/TcosActions.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3824, 67, 2575, 67, 476, 12, 2890, 16, 1301, 4672, 787, 21, 33, 957, 1435, 261, 2284, 16, 1400, 13, 273, 365, 18, 5254, 18, 7032, 11821, 18, 588, 67, 10705, 7675, 588, 67, 8109, 1435, 309, 1400, 422, 599, 30, 1172, 67, 4148, 12, 315, 5414, 67, 2575, 67, 476, 1435, 486, 3170, 21936, 1004, 401, 5, 4442, 262, 327, 365, 18, 5254, 18, 8109, 67, 2564, 33, 2284, 18, 588, 67, 1132, 12, 2165, 16, 4935, 67, 8908, 13, 365, 18, 5254, 18, 8109, 67, 625, 33, 2284, 18, 588, 67, 1132, 12, 2165, 16, 5597, 67, 2579, 13, 225, 309, 486, 365, 18, 2896, 1128, 67, 2152, 291, 2625, 12, 1128, 16, 365, 18, 5254, 18, 8109, 67, 625, 4672, 468, 2405, 279, 1234, 5116, 18, 1376, 67, 3576, 261, 389, 2932, 2568, 1404, 1196, 333, 1301, 2724, 1846, 854, 5840, 622, 333, 1479, 4442, 13, 262, 327, 225, 309, 1301, 422, 374, 30, 468, 4460, 8651, 468, 745, 358, 855, 2632, 1123, 365, 18, 5254, 18, 2902, 7452, 18, 2704, 2564, 12, 2890, 18, 5254, 18, 8109, 67, 625, 13, 365, 18, 5254, 18, 2902, 7452, 18, 625, 33, 2890, 18, 5254, 18, 8109, 67, 625, 225, 365, 18, 5254, 18, 10124, 33, 11574, 18, 15252, 12, 365, 18, 5254, 17211, 1018, 33, 2890, 18, 19936, 67, 3404, 270, 15239, 16, 833, 33, 3816, 2890, 18, 5254, 18, 8109, 67, 625, 5717, 262, 18, 1937, 1435, 282, 309, 1301, 422, 404, 30, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3824, 67, 2575, 67, 476, 12, 2890, 16, 1301, 4672, 787, 21, 33, 957, 1435, 261, 2284, 16, 1400, 13, 273, 365, 18, 5254, 18, 7032, 11821, 18, 588, 67, 10705, 7675, 588, 67, 8109, 1435, 309, 1400, 422, 599, 30, 1172, 67, 4148, 12, 315, 5414, 67, 2575, 67, 476, 1435, 486, 3170, 21936, 1004, 401, 5, 4442, 262, 327, 365, 18, 5254, 18, 8109, 67, 2564, 33, 2284, 18, 588, 67, 1132, 12, 2165, 16, 4935, 67, 8908, 13, 365, 18, 5254, 18, 8109, 67, 625, 33, 2284, 18, 588, 67, 1132, 12, 2165, 16, 5597, 67, 2579, 13, 225, 309, 486, 365, 18, 2896, 1128, 67, 2152, 291, 2625, 12, 1128, 16, 365, 18, 5254, 2 ]
def _find_module_from_filename(filename,verbosity): """ @return: The module contained in C{filename}. @rtype: C{module} @param filename: The filename that contains the module. @type filename: C{int} @param verbosity: Verbosity level for tracing output. @type verbosity: C{int} """ import epydoc.uid filename = os.path.normpath(os.path.abspath(filename)) name = re.sub(r'/?__init__\.py.?$', '', filename) name = re.sub(r'\.py[ocw]?$', '', name) name = re.sub(r'\.so$', '', name) name = re.sub(r'/$', '', name) (basedir, module) = os.path.split(name) if os.path.exists(os.path.join(basedir, '__init__.py')): package = [] while os.path.exists(os.path.join(basedir, '__init__.py')): (basedir,dir) = os.path.split(basedir) if dir == '': break package.append(dir) package.reverse() module = '.'.join(package+[module]) try: if verbosity > 1: print 'Importing', filename if verbosity > 1: sys.stdout.flush() if basedir: sys.path = [basedir] + sys.path try: return epydoc.uid._import_module(module) except Exception, e: print e print 'Warning: could not import %r [1]' % filename except SystemExit, e: print e print 'Warning: could not import %r [2]' % filename except: print 'Warning: could not import %r [3]' % filename except ImportError, e: if re.match(r'^.*__init__\.py?$', filename): raise ImportError("Run epydoc from the parent directory "+ "(%r):\n%s" % (filename, e)) raise ImportError("Could not find module %r:\n%s" % (filename, e))
def _parse_args(): """ Process the command line arguments; return a dictionary containing the relevant info. @return: A dictionary mapping from configuration parameters to values. If a parameter is specified on the command line, then that value is used; otherwise, a default value is used. Currently, the following configuration parameters are set: C{target}; C{modules}; C{verbosity}; C{prj_name}; C{check}; C{show_private}; and C{check_all}. @rtype: C{None} """ # Default values. argvals = {'target':'html', 'modules':[], 'verbosity':0, 'prj_name':'', 'check':0, 'show_private':0, 'check_all':0, 'show_imports':0} # Get the args (backwards, since we will pop them) args = sys.argv[1:] args.reverse() while args: arg = args.pop() if arg[:1] == '-': if arg in ('-o', '--output', '--target'): try: argvals['target'] = args.pop() except: _usage() elif arg in ('-n', '--name'): try: argvals['prj_name'] = args.pop() except: _usage() elif arg in ('-u', '--url'): try: argvals['prj_url'] = args.pop() except: _usage() elif arg in ('-V', '--version'): _version() elif arg in ('-v', '--verbose'): argvals['verbosity'] += 1 elif arg in ('-q', '--quiet'): argvals['verbosity'] -= 3 elif re.match('^-v+$', arg): argvals['verbosity'] += len(arg)-1 elif arg in ('--help', '-?', '--usage', '-h'): if len(args) == 1: _help(args[0]) elif len(args) == 0: _usage(0) else: _usage() elif arg in ('--check',): argvals['check'] = 1 elif arg in ('--show-imports', '--show_imports'): argvals['show_imports'] = 1 elif arg in ('-p',): argvals['show_private'] = 1 elif arg in ('-a', '-check_all'): argvals['check_all'] = 1 elif arg in ('--css', '-c'): argvals['css'] = args.pop() if argvals['css'] == 'help': _csshelp() else: _usage() else: argvals['modules'].append(arg) # This can prevent trouble sometimes when importing things. sys.argv[:] = ['(imported)'] if argvals['modules'] == []: _usage() return argvals
57e38b38561f72cf5c59ea2ad24ff0e222a5457f /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3512/57e38b38561f72cf5c59ea2ad24ff0e222a5457f/cli.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 2670, 67, 1968, 13332, 3536, 4389, 326, 1296, 980, 1775, 31, 327, 279, 3880, 4191, 326, 9368, 1123, 18, 225, 632, 2463, 30, 432, 3880, 2874, 628, 1664, 1472, 358, 924, 18, 225, 971, 279, 1569, 353, 1269, 603, 326, 1296, 980, 16, 1508, 716, 460, 353, 1399, 31, 3541, 16, 279, 805, 460, 353, 1399, 18, 15212, 16, 326, 3751, 1664, 1472, 854, 444, 30, 385, 95, 3299, 20451, 385, 95, 6400, 20451, 385, 95, 16629, 8807, 20451, 385, 95, 683, 78, 67, 529, 20451, 385, 95, 1893, 20451, 385, 95, 4500, 67, 1152, 20451, 471, 385, 95, 1893, 67, 454, 5496, 632, 86, 723, 30, 385, 95, 7036, 97, 3536, 468, 2989, 924, 18, 1501, 4524, 273, 13666, 3299, 11, 2497, 2620, 2187, 296, 6400, 4278, 63, 6487, 296, 16629, 8807, 4278, 20, 16, 296, 683, 78, 67, 529, 11, 2497, 2187, 296, 1893, 4278, 20, 16, 296, 4500, 67, 1152, 4278, 20, 16, 296, 1893, 67, 454, 4278, 20, 16, 296, 4500, 67, 21350, 4278, 20, 97, 225, 468, 968, 326, 833, 261, 823, 6397, 16, 3241, 732, 903, 1843, 2182, 13, 833, 273, 2589, 18, 19485, 63, 21, 26894, 833, 18, 9845, 1435, 225, 1323, 833, 30, 1501, 273, 833, 18, 5120, 1435, 309, 1501, 10531, 21, 65, 422, 4014, 30, 309, 1501, 316, 7707, 17, 83, 2187, 3534, 2844, 2187, 3534, 3299, 11, 4672, 775, 30, 1501, 4524, 3292, 3299, 3546, 273, 833, 18, 5120, 1435, 1335, 30, 389, 9167, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2670, 67, 1968, 13332, 3536, 4389, 326, 1296, 980, 1775, 31, 327, 279, 3880, 4191, 326, 9368, 1123, 18, 225, 632, 2463, 30, 432, 3880, 2874, 628, 1664, 1472, 358, 924, 18, 225, 971, 279, 1569, 353, 1269, 603, 326, 1296, 980, 16, 1508, 716, 460, 353, 1399, 31, 3541, 16, 279, 805, 460, 353, 1399, 18, 15212, 16, 326, 3751, 1664, 1472, 854, 444, 30, 385, 95, 3299, 20451, 385, 95, 6400, 20451, 385, 95, 16629, 8807, 20451, 385, 95, 683, 78, 67, 529, 20451, 385, 95, 1893, 20451, 385, 95, 4500, 67, 1152, 20451, 471, 385, 95, 1893, 67, 454, 5496, 632, 86, 723, 30, 385, 95, 7036, 97, 3536, 468, 2989, 924, 18, 1501, 2 ]
skipping = 0
skipping = 0
def show_errors (self): """ Display all errors that occured during compilation. Return 0 if there was no error. """ pos = ["(no file)"] last_file = None showing = 0 # 1 if we are showing an error's text skipping = 0 # 1 if we are skipping text until a new line something = 0 # 1 if some error was displayed for line in self.lines: line = line.rstrip() if line == "": skipping = 0 elif skipping: pass elif showing: self.msg(0, line) if line[0:2] == "l." or line[0:3] == "***": showing = 0 skipping = 1 else: self.update_file(line, pos) elif line[0] == "!": if pos[-1] != last_file: last_file = pos[-1] self.msg(0, _("in file %s:") % last_file) self.msg(0, line) showing = 1 something = 1 else:
a68ab95e33b0de179210f64eea90e0dfd53390d2 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/10102/a68ab95e33b0de179210f64eea90e0dfd53390d2/__init__.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2405, 67, 4324, 261, 2890, 4672, 3536, 9311, 777, 1334, 716, 16206, 4982, 8916, 18, 2000, 374, 309, 1915, 1703, 1158, 555, 18, 3536, 949, 273, 8247, 12, 2135, 585, 2225, 65, 1142, 67, 768, 273, 599, 17253, 273, 374, 565, 468, 404, 309, 732, 854, 17253, 392, 555, 1807, 977, 14195, 273, 374, 282, 468, 404, 309, 732, 854, 14195, 977, 3180, 279, 394, 980, 5943, 273, 374, 225, 468, 404, 309, 2690, 555, 1703, 10453, 364, 980, 316, 365, 18, 3548, 30, 980, 273, 980, 18, 86, 6406, 1435, 309, 980, 422, 1408, 30, 14195, 273, 374, 1327, 14195, 30, 1342, 1327, 17253, 30, 365, 18, 3576, 12, 20, 16, 980, 13, 309, 980, 63, 20, 30, 22, 65, 422, 315, 80, 1199, 578, 980, 63, 20, 30, 23, 65, 422, 315, 14465, 6877, 17253, 273, 374, 14195, 273, 404, 469, 30, 365, 18, 2725, 67, 768, 12, 1369, 16, 949, 13, 1327, 980, 63, 20, 65, 422, 23717, 30, 309, 949, 18919, 21, 65, 480, 1142, 67, 768, 30, 1142, 67, 768, 273, 949, 18919, 21, 65, 365, 18, 3576, 12, 20, 16, 389, 2932, 267, 585, 738, 87, 2773, 13, 738, 1142, 67, 768, 13, 365, 18, 3576, 12, 20, 16, 980, 13, 17253, 273, 404, 5943, 273, 404, 469, 30, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2405, 67, 4324, 261, 2890, 4672, 3536, 9311, 777, 1334, 716, 16206, 4982, 8916, 18, 2000, 374, 309, 1915, 1703, 1158, 555, 18, 3536, 949, 273, 8247, 12, 2135, 585, 2225, 65, 1142, 67, 768, 273, 599, 17253, 273, 374, 565, 468, 404, 309, 732, 854, 17253, 392, 555, 1807, 977, 14195, 273, 374, 282, 468, 404, 309, 732, 854, 14195, 977, 3180, 279, 394, 980, 5943, 273, 374, 225, 468, 404, 309, 2690, 555, 1703, 10453, 364, 980, 316, 365, 18, 3548, 30, 980, 273, 980, 18, 86, 6406, 1435, 309, 980, 422, 1408, 30, 14195, 273, 374, 1327, 14195, 30, 1342, 1327, 17253, 30, 365, 18, 3576, 12, 20, 16, 980, 13, 309, 980, 63, 20, 2 ]