rem
stringlengths
1
226k
add
stringlengths
0
227k
context
stringlengths
6
326k
meta
stringlengths
143
403
input_ids
listlengths
256
256
attention_mask
listlengths
256
256
labels
listlengths
128
128
sage: len(pf._str_()) 369
sage: pf._str_() '_application PolyhedralFan\n_version 2.2\n_type PolyhedralFan\n\nAMBIENT_DIM\n3\n\nDIM\n3\n\nLINEALITY_DIM\n0\n\nRAYS\n1 0 0\t
def _str_(self): """ Returns the raw output of gfan as a string. This should only be needed internally as all relevant output is converted to sage objects.
380fba8aa115241b6daec46b0662f370ad312cd9 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9890/380fba8aa115241b6daec46b0662f370ad312cd9/groebner_fan.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 701, 67, 12, 2890, 4672, 3536, 2860, 326, 1831, 876, 434, 13828, 304, 487, 279, 533, 18, 225, 1220, 1410, 1338, 506, 3577, 12963, 487, 777, 9368, 876, 353, 5970, 358, 272, 410, 21...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 701, 67, 12, 2890, 4672, 3536, 2860, 326, 1831, 876, 434, 13828, 304, 487, 279, 533, 18, 225, 1220, 1410, 1338, 506, 3577, 12963, 487, 777, 9368, 876, 353, 5970, 358, 272, 410, 21...
def __init__(data = None)
def __init__(data = None):
def __init__(data = None) if data == None: quickfix.StringField.__init__(self, 89) else quickfix.StringField.__init__(self, 89, data)
484890147d4b23aac4b9d0e85e84fceab7e137c3 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8819/484890147d4b23aac4b9d0e85e84fceab7e137c3/quickfix_fields.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 892, 273, 599, 4672, 309, 501, 422, 599, 30, 9549, 904, 18, 780, 974, 16186, 2738, 972, 12, 2890, 16, 28308, 13, 469, 9549, 904, 18, 780, 974, 16186, 2738, 972, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 892, 273, 599, 4672, 309, 501, 422, 599, 30, 9549, 904, 18, 780, 974, 16186, 2738, 972, 12, 2890, 16, 28308, 13, 469, 9549, 904, 18, 780, 974, 16186, 2738, 972, ...
title = "AdZapper %s filter" % adclass desc = "Automatically generated, you should not edit this filter." scheme, host, path, query, fragment = urlparse.urlsplit(pattern) d = locals() for key, value in d: d[key] = xmlify(value)
d = get_rule_dict(adclass, pattern)
def write_block (zapfile, adclass, pattern, replacement=None): title = "AdZapper %s filter" % adclass desc = "Automatically generated, you should not edit this filter." scheme, host, path, query, fragment = urlparse.urlsplit(pattern) d = locals() for key, value in d: d[key] = xmlify(value) zapfile.write("""<block title...
5fa0e81bf922324d404b7f57f5fdb223b9c2790a /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3948/5fa0e81bf922324d404b7f57f5fdb223b9c2790a/adzap2wc.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1045, 67, 2629, 261, 94, 438, 768, 16, 1261, 1106, 16, 1936, 16, 6060, 33, 7036, 4672, 225, 302, 273, 336, 67, 5345, 67, 1576, 12, 361, 1106, 16, 1936, 13, 11419, 768, 18, 2626, 2932...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1045, 67, 2629, 261, 94, 438, 768, 16, 1261, 1106, 16, 1936, 16, 6060, 33, 7036, 4672, 225, 302, 273, 336, 67, 5345, 67, 1576, 12, 361, 1106, 16, 1936, 13, 11419, 768, 18, 2626, 2932...
checkQt()
sys.stdout.write("\n")
def main(): # Options for qmake DEFINES = "" CONFIG = "" # Setup command line parser parser = OptionParser(version="%prog 0.2") parser.add_option("--dsp", action="store_true", dest="dsp", help="also Generate Visual Studio project files") parser.add_option("--nocolor", action="store_true", dest="nocolor", help="disable...
d980221e60ef0a27e1c9e50d015876701de198d2 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2534/d980221e60ef0a27e1c9e50d015876701de198d2/configure.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2774, 13332, 468, 5087, 364, 1043, 6540, 25957, 3740, 55, 273, 1408, 9128, 273, 1408, 225, 468, 10939, 1296, 980, 2082, 2082, 273, 18862, 12, 1589, 11613, 14654, 374, 18, 22, 7923, 2082, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2774, 13332, 468, 5087, 364, 1043, 6540, 25957, 3740, 55, 273, 1408, 9128, 273, 1408, 225, 468, 10939, 1296, 980, 2082, 2082, 273, 18862, 12, 1589, 11613, 14654, 374, 18, 22, 7923, 2082, ...
>>> tables[2].text '2005-07-03, Sunday'
>>> print tables[2].text 2005-07-03, Sunday
def doctest_WeeklyPDFCalendarView(): r"""Tests for WeeklyPDFCalendarView. >>> from schooltool.app.browser.pdfcal import WeeklyPDFCalendarView >>> calendar = ISchoolToolCalendar(Person()) >>> request = TestRequest(form={'date': '2005-07-01'}) >>> view = WeeklyPDFCalendarView(calendar, request) >>> view.getCalendars = l...
bdff415eed838e506806ddb786cfdb2d2d5ce8f9 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/7127/bdff415eed838e506806ddb786cfdb2d2d5ce8f9/test_pdfcal.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 31263, 395, 67, 6630, 715, 17508, 7335, 1767, 13332, 436, 8395, 14650, 364, 10527, 715, 17508, 7335, 1767, 18, 225, 4080, 628, 18551, 1371, 6738, 18, 2910, 18, 11213, 18, 7699, 771, 1930, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 31263, 395, 67, 6630, 715, 17508, 7335, 1767, 13332, 436, 8395, 14650, 364, 10527, 715, 17508, 7335, 1767, 18, 225, 4080, 628, 18551, 1371, 6738, 18, 2910, 18, 11213, 18, 7699, 771, 1930, ...
pass
directives.append(line[1:])
def parse_percent_directives(self): r""" Parses this compute cell's percent directives, determines its system (if any), and returns the "cleaned" input text.
58fbaed8776bea028a86602eb4b6b0ae9852181e /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/11792/58fbaed8776bea028a86602eb4b6b0ae9852181e/cell.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1109, 67, 8849, 67, 30850, 12, 2890, 4672, 436, 8395, 2280, 2420, 333, 3671, 2484, 1807, 5551, 13877, 16, 12949, 2097, 2619, 261, 430, 1281, 3631, 471, 1135, 326, 315, 6200, 329, 6, 810,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1109, 67, 8849, 67, 30850, 12, 2890, 4672, 436, 8395, 2280, 2420, 333, 3671, 2484, 1807, 5551, 13877, 16, 12949, 2097, 2619, 261, 430, 1281, 3631, 471, 1135, 326, 315, 6200, 329, 6, 810,...
for filename in FileUtilities.children_in_directory(dirname, True):
for filename in children_in_directory(dirname, True):
def list_files(self): dirname = os.path.expanduser("~/.macromedia/Flash_Player/macromedia.com/support/flashplayer/sys") for filename in FileUtilities.children_in_directory(dirname, True): yield filename
905c2a6f962a355b11ab87c2064796c54c6c1af5 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/7853/905c2a6f962a355b11ab87c2064796c54c6c1af5/CleanerBackend.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 666, 67, 2354, 12, 2890, 4672, 4283, 273, 1140, 18, 803, 18, 12320, 1355, 2932, 98, 15865, 5821, 520, 1980, 19, 11353, 67, 12148, 19, 5821, 520, 1980, 18, 832, 19, 13261, 19, 13440, 14...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 666, 67, 2354, 12, 2890, 4672, 4283, 273, 1140, 18, 803, 18, 12320, 1355, 2932, 98, 15865, 5821, 520, 1980, 19, 11353, 67, 12148, 19, 5821, 520, 1980, 18, 832, 19, 13261, 19, 13440, 14...
msg = msg + "<p>%s %s</p>" % (info, ",".join(recipients))
msg = msg + "<p>%s %s</p>" % (info, ", ".join(recipients))
def saveText(self, newtext, rev, **kw): """ Save new text for a page.
82593c1a95c0f7026ed967d66e727ef00a89784f /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/888/82593c1a95c0f7026ed967d66e727ef00a89784f/PageEditor.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1923, 1528, 12, 2890, 16, 394, 955, 16, 5588, 16, 2826, 9987, 4672, 3536, 7074, 394, 977, 364, 279, 1363, 18, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1923, 1528, 12, 2890, 16, 394, 955, 16, 5588, 16, 2826, 9987, 4672, 3536, 7074, 394, 977, 364, 279, 1363, 18, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
def patch_all(socket=True, time=True, select=True, thread=True, os=True, ssl=True):
def patch_all(socket=True, dns=True, time=True, select=True, thread=True, os=True, ssl=True):
def patch_all(socket=True, time=True, select=True, thread=True, os=True, ssl=True): # order is important if os: patch_os() if time: patch_time() if thread: patch_thread() if socket: patch_socket() if select: patch_select() if ssl: patch_ssl()
97f05b3f6ab3e05c74f05b61391fa258e20bc5bc /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/10423/97f05b3f6ab3e05c74f05b61391fa258e20bc5bc/monkey.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4729, 67, 454, 12, 7814, 33, 5510, 16, 6605, 33, 5510, 16, 813, 33, 5510, 16, 2027, 33, 5510, 16, 2650, 33, 5510, 16, 1140, 33, 5510, 16, 5832, 33, 5510, 4672, 468, 1353, 353, 10802,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4729, 67, 454, 12, 7814, 33, 5510, 16, 6605, 33, 5510, 16, 813, 33, 5510, 16, 2027, 33, 5510, 16, 2650, 33, 5510, 16, 1140, 33, 5510, 16, 5832, 33, 5510, 4672, 468, 1353, 353, 10802,...
for deadslice in deaddb.itervalues(): if (time.time() >= (deadslice['slice'].time + period)): logger.log("bwmon: Removing dead slice %s from dat." % deadslice.name) del deaddb[deadslice['slice'].name]
for deadslice in deaddb.keys(): if (time.time() >= (deaddb[deadslice]['slice'].time + period)): logger.log("bwmon: Removing dead slice %s from dat." \ % deaddb[deadslice]['slice'].name) del deaddb[deadslice]
def sync(nmdbcopy): """ Syncs tc, db, and bwmon.dat. Then, starts new slices, kills old ones, and updates byte accounts for each running slice. Sends emails and caps those that went over their limit. """ # Defaults global datafile, \ period, \ default_MaxRate, \ default_Maxi2Rate, \ default_MinRate, \ default_MaxKByt...
90a0daa0673b703f50cd19338c63e0f2b8425614 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/6995/90a0daa0673b703f50cd19338c63e0f2b8425614/bwmon.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3792, 12, 82, 27574, 3530, 4672, 3536, 9721, 87, 1715, 16, 1319, 16, 471, 12986, 2586, 18, 3404, 18, 225, 9697, 16, 2542, 394, 12390, 16, 8673, 87, 1592, 5945, 16, 471, 4533, 1160, 948...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 12, 82, 27574, 3530, 4672, 3536, 9721, 87, 1715, 16, 1319, 16, 471, 12986, 2586, 18, 3404, 18, 225, 9697, 16, 2542, 394, 12390, 16, 8673, 87, 1592, 5945, 16, 471, 4533, 1160, 948...
file.write("</" + _encode(tag, encoding) + ">")
file.write(_encode("</" + tag + ">", encoding))
def _write(self, file, node, encoding, namespaces): # write XML to file tag = node.tag if tag is Comment: file.write("<!-- %s -->" % _escape_cdata(node.text, encoding)) elif tag is ProcessingInstruction: file.write("<?%s?>" % _escape_cdata(node.text, encoding)) else: items = list(node.items()) xmlns_items = [] # new na...
f30bb0eba2d5aeefba5afc5fbc00a0c1ef9c271e /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/8546/f30bb0eba2d5aeefba5afc5fbc00a0c1ef9c271e/ElementTree.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 2626, 12, 2890, 16, 585, 16, 756, 16, 2688, 16, 7728, 4672, 468, 1045, 3167, 358, 585, 1047, 273, 756, 18, 2692, 309, 1047, 353, 9821, 30, 585, 18, 2626, 2932, 5586, 413, 738, 8...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2626, 12, 2890, 16, 585, 16, 756, 16, 2688, 16, 7728, 4672, 468, 1045, 3167, 358, 585, 1047, 273, 756, 18, 2692, 309, 1047, 353, 9821, 30, 585, 18, 2626, 2932, 5586, 413, 738, 8...
sage: P4 = simplicial_complexes.RealProjectiveSpace(4) sage: P4.f_vector()
sage: P4 = simplicial_complexes.RealProjectiveSpace(4) sage: P4.f_vector()
def RealProjectiveSpace(self, n): r""" A triangulation of `\Bold{R}P^n` for any `n \geq 0`.
c4b585a83d89b9c820f35f0b5b2de8821ab8bf79 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/9890/c4b585a83d89b9c820f35f0b5b2de8821ab8bf79/examples.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 15987, 4109, 688, 3819, 12, 2890, 16, 290, 4672, 436, 8395, 432, 6882, 539, 6234, 434, 1375, 64, 38, 1673, 95, 54, 97, 52, 66, 82, 68, 364, 1281, 1375, 82, 521, 908, 85, 374, 8338, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 15987, 4109, 688, 3819, 12, 2890, 16, 290, 4672, 436, 8395, 432, 6882, 539, 6234, 434, 1375, 64, 38, 1673, 95, 54, 97, 52, 66, 82, 68, 364, 1281, 1375, 82, 521, 908, 85, 374, 8338, ...
node_gid_path = config_dir + os.sep + "node.gid"
node_gid_file = api.config.config_path + os.sep + "node.gid"
def install_gids(api, slivers): # install node gid node_gid_path = config_dir + os.sep + "node.gid" node_gid = GID(filename=node_gid_file) node_gid_str = node_gid.save_to_string(save_parents=True) node_hrn = node_gid.get_hrn() # get currently installed slice and node gids interface_hrn = api.config.SFA_INTERFACE_HRN s...
a1b8649eb48bec7cddb692f115cdc806eddc9baf /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/6995/a1b8649eb48bec7cddb692f115cdc806eddc9baf/sfagids.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3799, 67, 75, 2232, 12, 2425, 16, 2020, 6760, 4672, 468, 3799, 756, 11399, 756, 67, 15780, 67, 768, 273, 1536, 18, 1425, 18, 1425, 67, 803, 397, 1140, 18, 10814, 397, 315, 2159, 18, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3799, 67, 75, 2232, 12, 2425, 16, 2020, 6760, 4672, 468, 3799, 756, 11399, 756, 67, 15780, 67, 768, 273, 1536, 18, 1425, 18, 1425, 67, 803, 397, 1140, 18, 10814, 397, 315, 2159, 18, ...
print " Found ROA %r %s" % (r, "<%s %s>" % (r.asn, ("%s,%s" % (v4, v6)).strip(",")))
if r.roa is None: print " No CMS object" else: print " %s" % r.roa.get_POW().pprint() print " asID %s" % (r.roa.extract().asID.get(),) for f in r.roa.get_content().ipAddrBlocks: t = self._afi_map[f.addressFamily.get()].resource_set_type.range_type.datum_type for a in f.addresses: p = a.address.get() l = len(p) p = ...
def __init__(self):
1b369d5f68d1033e4331262a8e4f1de977de71ac /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/119/1b369d5f68d1033e4331262a8e4f1de977de71ac/debug-roas.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 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,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 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, -1...
ganeti = self.get_cluster_instances()
ganeti = self.instances()
def sync_virtual_machines(self): """ Synchronizes the VirtualMachines in the database with the information this ganeti cluster has: * VMs no longer in ganeti are deleted * VMs missing from the database are added """ ganeti = self.get_cluster_instances() db = self.virtual_machines.all().values_list('hostname', flat=True...
e93f7dae9f8c32344979ec89c59fbcb663437b2f /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/10509/e93f7dae9f8c32344979ec89c59fbcb663437b2f/models.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3792, 67, 12384, 67, 81, 10635, 12, 2890, 4672, 3536, 26535, 3128, 326, 7269, 25222, 316, 326, 2063, 598, 326, 1779, 333, 314, 304, 278, 77, 2855, 711, 30, 380, 776, 6947, 1158, 7144, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 67, 12384, 67, 81, 10635, 12, 2890, 4672, 3536, 26535, 3128, 326, 7269, 25222, 316, 326, 2063, 598, 326, 1779, 333, 314, 304, 278, 77, 2855, 711, 30, 380, 776, 6947, 1158, 7144, ...
flags['nx'] = '0'
flags['nx'] = 0
def get_binary_flags(self, file): """ Function to get binary flags from a file """ flags = {}
db3e09aa0517efc638ded0f40524a2b41dc13d44 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/11154/db3e09aa0517efc638ded0f40524a2b41dc13d44/binary.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 67, 8578, 67, 7133, 12, 2890, 16, 585, 4672, 3536, 4284, 358, 336, 3112, 2943, 628, 279, 585, 3536, 2943, 273, 2618, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 67, 8578, 67, 7133, 12, 2890, 16, 585, 4672, 3536, 4284, 358, 336, 3112, 2943, 628, 279, 585, 3536, 2943, 273, 2618, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
self.log.error('Maximum number of reschedulings is reached for job %s' % jobID)
self.log.error('Maximum number of reschedulings is reached','Job %s' % jobID)
def rescheduleJob (self, jobID): """ Reschedule the given job to run again from scratch. Retain the already defined parameters in the parameter Attic """ # Check Verified Flag result = self.getJobAttributes( jobID, ['Status','MinorStatus','VerifiedFlag','RescheduleCounter', 'Owner','OwnerDN','OwnerGroup','DIRACSetup'] ...
9e6e6e6a0b71716934d90f1f887bb76badef4dc8 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/12864/9e6e6e6a0b71716934d90f1f887bb76badef4dc8/JobDB.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 400, 2847, 2278, 261, 2890, 16, 28913, 4672, 3536, 1124, 2847, 326, 864, 1719, 358, 1086, 3382, 628, 15289, 18, 17100, 530, 326, 1818, 2553, 1472, 316, 326, 1569, 6020, 335, 3536, 468, 2...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 400, 2847, 2278, 261, 2890, 16, 28913, 4672, 3536, 1124, 2847, 326, 864, 1719, 358, 1086, 3382, 628, 15289, 18, 17100, 530, 326, 1818, 2553, 1472, 316, 326, 1569, 6020, 335, 3536, 468, 2...
service_module = __import__('googlecl.' + service + '.client', globals(), locals(), -1)
service_module = import_at_runtime('googlecl.' + service + '.client')
def import_service(service, config_file_path): """Import vital information about a service. The goal of this function is to allow expansion to other "service" classes in the future. In the same way that the v2 and v3 API python library uses a module called "client", googlecl will do the same. Keyword arguments: servi...
7401185f61930c54be4742722415abbc7002706a /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/2899/7401185f61930c54be4742722415abbc7002706a/google.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1930, 67, 3278, 12, 3278, 16, 642, 67, 768, 67, 803, 4672, 3536, 5010, 331, 7053, 1779, 2973, 279, 1156, 18, 225, 1021, 17683, 434, 333, 445, 353, 358, 1699, 17965, 358, 1308, 315, 327...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1930, 67, 3278, 12, 3278, 16, 642, 67, 768, 67, 803, 4672, 3536, 5010, 331, 7053, 1779, 2973, 279, 1156, 18, 225, 1021, 17683, 434, 333, 445, 353, 358, 1699, 17965, 358, 1308, 315, 327...
connected_device = self.sources['iPod'] dev = self.iTunes.sources.ItemByName(connected_device) dev_playlists = [pl.Name for pl in dev.Playlists] if 'Books' in dev_playlists: return self.iTunes.sources.ItemByName(connected_device).Playlists.ItemByName('Books').Tracks else: return [] if DEBUG: self.log.warning('ITUNES._g...
try: pythoncom.CoInitialize() connected_device = self.sources['iPod'] device = self.iTunes.sources.ItemByName(connected_device) dev_books = None for pl in device.Playlists: if self.PlaylistKind[pl.Kind] == 'User' and self.PlaylistSpecialKind[pl.SpecialKind] == 'Books': if DEBUG: self.log.info(" Books playlist: '%s' sp...
def _get_device_books(self): ''' Assumes pythoncom wrapper ''' if isosx: if 'iPod' in self.sources: connected_device = self.sources['iPod'] if 'Books' in self.iTunes.sources[connected_device].playlists.name(): return self.iTunes.sources[connected_device].playlists['Books'].file_tracks() return []
462b2e6c44751baac6b573b9a8450f4512d05312 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/9125/462b2e6c44751baac6b573b9a8450f4512d05312/driver.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 588, 67, 5964, 67, 12567, 12, 2890, 4672, 9163, 25374, 5790, 832, 4053, 9163, 309, 353, 538, 92, 30, 309, 296, 77, 5800, 11, 316, 365, 18, 10141, 30, 5840, 67, 5964, 273, 365, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 588, 67, 5964, 67, 12567, 12, 2890, 4672, 9163, 25374, 5790, 832, 4053, 9163, 309, 353, 538, 92, 30, 309, 296, 77, 5800, 11, 316, 365, 18, 10141, 30, 5840, 67, 5964, 273, 365, 1...
self.selectNoneAction.setIconSet(QIconSet(self.image20))
self.selectNoneAction.setIconSet(QIconSet(self.image14))
def __init__(self,parent = None,name = None,fl = 0): QMainWindow.__init__(self,parent,name,fl) self.statusBar()
2bdc60455ab85cd2792604c15ae9034d3632b0df /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/11221/2bdc60455ab85cd2792604c15ae9034d3632b0df/MainWindowUI.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 2938, 273, 599, 16, 529, 273, 599, 16, 2242, 273, 374, 4672, 2238, 6376, 3829, 16186, 2738, 972, 12, 2890, 16, 2938, 16, 529, 16, 2242, 13, 365, 18, 23...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 2938, 273, 599, 16, 529, 273, 599, 16, 2242, 273, 374, 4672, 2238, 6376, 3829, 16186, 2738, 972, 12, 2890, 16, 2938, 16, 529, 16, 2242, 13, 365, 18, 23...
experimentlib.set_vessel_users(vessel['handle'], identity, USERKEY_LIST)
experimentlib.set_vessel_users(vessel['vesselhandle'], identity, USERKEY_LIST)
def set_keys(vessel, identity): """ The first argument will be a vesseldict rather than a vesselhandle because we passed the result of get_vessels_on_nodes to run_parallelized. """ if vessel['vesselname'] != VESSELNAME_TO_SET_USER_KEYS_ON: msg = "[" + vessel['location'] + "] Skipping: vesselname is not: " + VESSELNAME...
c05862ba556a55ecfe962167a0a62ac9ff1a5b43 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/7263/c05862ba556a55ecfe962167a0a62ac9ff1a5b43/set_user_keys.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 444, 67, 2452, 12, 90, 403, 292, 16, 4215, 4672, 3536, 1021, 1122, 1237, 903, 506, 279, 331, 403, 488, 933, 9178, 2353, 279, 331, 403, 292, 4110, 2724, 732, 2275, 326, 563, 434, 336, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 444, 67, 2452, 12, 90, 403, 292, 16, 4215, 4672, 3536, 1021, 1122, 1237, 903, 506, 279, 331, 403, 488, 933, 9178, 2353, 279, 331, 403, 292, 4110, 2724, 732, 2275, 326, 563, 434, 336, ...
return self.__class__(*s, enabled=self.enabled, op=op)
return self.__class__(enabled=self.enabled, op=op, *s)
def node(self, s, op): return self.__class__(*s, enabled=self.enabled, op=op)
9710a2669901566788210a296757cd4b463165e4 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/2024/9710a2669901566788210a296757cd4b463165e4/term.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 756, 12, 2890, 16, 272, 16, 1061, 4672, 327, 365, 16186, 1106, 972, 30857, 87, 16, 3696, 33, 2890, 18, 5745, 16, 1061, 33, 556, 13, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 756, 12, 2890, 16, 272, 16, 1061, 4672, 327, 365, 16186, 1106, 972, 30857, 87, 16, 3696, 33, 2890, 18, 5745, 16, 1061, 33, 556, 13, 2, -100, -100, -100, -100, -100, -100, -100, -100, ...
__iter__ = iterkeys
def __iter__(self): return self.data.iterkeys()
def iterkeys(self): return self.data.iterkeys()
61146790992e0a00b76a6bf6ecc9e53289a1ecd7 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8546/61146790992e0a00b76a6bf6ecc9e53289a1ecd7/weakref.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 31664, 12, 2890, 4672, 327, 365, 18, 892, 18, 2165, 2452, 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, ...
[ 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...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 31664, 12, 2890, 4672, 327, 365, 18, 892, 18, 2165, 2452, 1435, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
for (i = 0; i < len(keys); i++):
for i in range(len(keys)):
def parse(self,fieldStorage): key = None keys = fieldStorage.keys()
5cadc2e7c857927d07ed19eb3c92242ad63f5b2e /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/10967/5cadc2e7c857927d07ed19eb3c92242ad63f5b2e/Get.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1109, 12, 2890, 16, 1518, 3245, 4672, 225, 498, 273, 599, 1311, 273, 652, 3245, 18, 2452, 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, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1109, 12, 2890, 16, 1518, 3245, 4672, 225, 498, 273, 599, 1311, 273, 652, 3245, 18, 2452, 1435, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
self.cleanEnv() raise self.wps.exceptions.NoApplicableCode("Location [%s] does not exist" % self.process.grassLocation)
raise Exception("Location [%s] does not exist" % self.process.grassLocation)
def initEnv(self): """Create process working directory, initialize GRASS environment, if required.
9638acef4bba27538dacd775ae00e7b41397cd7a /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/10967/9638acef4bba27538dacd775ae00e7b41397cd7a/Execute.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1208, 3491, 12, 2890, 4672, 3536, 1684, 1207, 5960, 1867, 16, 4046, 611, 2849, 1260, 3330, 16, 309, 1931, 18, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1208, 3491, 12, 2890, 4672, 3536, 1684, 1207, 5960, 1867, 16, 4046, 611, 2849, 1260, 3330, 16, 309, 1931, 18, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
if debug: pass
def compile (self, sources, output_dir=None, macros=None, include_dirs=None, debug=0, extra_preargs=None, extra_postargs=None):
b0fcff7a16d313426f41f2b306badd2b07626eca /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8125/b0fcff7a16d313426f41f2b306badd2b07626eca/msvccompiler.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4074, 261, 2890, 16, 5550, 16, 876, 67, 1214, 33, 7036, 16, 24302, 33, 7036, 16, 2341, 67, 8291, 33, 7036, 16, 1198, 33, 20, 16, 2870, 67, 1484, 1968, 33, 7036, 16, 2870, 67, 2767, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4074, 261, 2890, 16, 5550, 16, 876, 67, 1214, 33, 7036, 16, 24302, 33, 7036, 16, 2341, 67, 8291, 33, 7036, 16, 1198, 33, 20, 16, 2870, 67, 1484, 1968, 33, 7036, 16, 2870, 67, 2767, ...
// --> </script>''' PYSRC_TEMPLATE = '''\ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "DTD/xhtml1-frameset.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <title>color test</title> <link rel="stylesheet" href="epydoc.css" type="text/css" /> </head>'''+PYSRC_JAVASCRIPTS....
def _doctest_sub(match): """ This helper function is used by L{colorize_doctestblock} to add colorization to matching expressions. It is called by C{_DOCTEST_RE.sub} with an expression that matches C{_DOCTEST_RE}. @return: The HTML code for the colorized expression. @rtype: C{string} @see: L{_DOCTEST_RE} """ str = ma...
385f05adec449bdea4b9e93217234a88e6f51d67 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/11420/385f05adec449bdea4b9e93217234a88e6f51d67/html_colorize.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 2896, 299, 395, 67, 1717, 12, 1916, 4672, 3536, 1220, 4222, 445, 353, 1399, 635, 511, 95, 3266, 554, 67, 2896, 299, 395, 2629, 97, 358, 527, 2036, 1588, 358, 3607, 8041, 18, 225, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2896, 299, 395, 67, 1717, 12, 1916, 4672, 3536, 1220, 4222, 445, 353, 1399, 635, 511, 95, 3266, 554, 67, 2896, 299, 395, 2629, 97, 358, 527, 2036, 1588, 358, 3607, 8041, 18, 225, ...
'project_id': porder.project_id.id,
def make_key(br, fields): list_key = [] for field in fields: field_val = getattr(br, field) if field in ('product_id','move_dest_id'): if not field_val: field_val = False if isinstance(field_val, browse_record): field_val = field_val.id elif isinstance(field_val, list): field_val = ((6, 0, tuple([v.id for v in field_va...
5fde7557ab53b649e5bce09ceff51952be158ed2 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/7397/5fde7557ab53b649e5bce09ceff51952be158ed2/wizard_group.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1221, 67, 856, 12, 2848, 16, 1466, 4672, 666, 67, 856, 273, 5378, 364, 652, 316, 1466, 30, 652, 67, 1125, 273, 3869, 12, 2848, 16, 652, 13, 309, 652, 316, 7707, 5896, 67, 350, 17023,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1221, 67, 856, 12, 2848, 16, 1466, 4672, 666, 67, 856, 273, 5378, 364, 652, 316, 1466, 30, 652, 67, 1125, 273, 3869, 12, 2848, 16, 652, 13, 309, 652, 316, 7707, 5896, 67, 350, 17023,...
result = self.getRemoteCredentials() user = result['username'] group = result['group'] return fcDB.isDirectory(lfns,user,group)
return fcDB.isDirectory(lfns,self.getRemoteCredentials())
def export_isDirectory(self,lfns): """ Get replica info for the given list of LFNs """ result = self.getRemoteCredentials() user = result['username'] group = result['group'] return fcDB.isDirectory(lfns,user,group)
5f300b050f8ecf30290e6baab5a4c96459704f50 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12864/5f300b050f8ecf30290e6baab5a4c96459704f50/FileCatalogHandler.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3359, 67, 291, 2853, 12, 2890, 16, 20850, 2387, 4672, 3536, 968, 12335, 1123, 364, 326, 864, 666, 434, 18803, 10386, 3536, 327, 8036, 2290, 18, 291, 2853, 12, 20850, 2387, 16, 2890, 18, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3359, 67, 291, 2853, 12, 2890, 16, 20850, 2387, 4672, 3536, 968, 12335, 1123, 364, 326, 864, 666, 434, 18803, 10386, 3536, 327, 8036, 2290, 18, 291, 2853, 12, 20850, 2387, 16, 2890, 18, ...
:param context: the context
def get_currency_digits(self, purchases): ''' Return the number of digits of the currency for each purchases
0d62b96b66ea855244d5b5c777b82884187a55c3 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/9276/0d62b96b66ea855244d5b5c777b82884187a55c3/purchase.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 67, 7095, 67, 16649, 12, 2890, 16, 5405, 343, 3304, 4672, 9163, 2000, 326, 1300, 434, 6815, 434, 326, 5462, 364, 1517, 5405, 343, 3304, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 67, 7095, 67, 16649, 12, 2890, 16, 5405, 343, 3304, 4672, 9163, 2000, 326, 1300, 434, 6815, 434, 326, 5462, 364, 1517, 5405, 343, 3304, 2, -100, -100, -100, -100, -100, -100, -100, ...
message += _(' - %s request sended') % len(ids2)
message += _(' - %s request sent') % len(ids2)
def request_set(self, exception=False): try: ids, ids2 = rpc.execute('object', 'execute', 'res.request', 'request_get') if len(ids): if len(ids) == 1: message = _('%s request') % len(ids) else: message = _('%s requests') % len(ids) else: message = _('No request') if len(ids2): if len(ids2) == 1: message += _(' - %s req...
94a78b6690ffe269e84dbe332aefaaa5beb52832 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9151/94a78b6690ffe269e84dbe332aefaaa5beb52832/main.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 590, 67, 542, 12, 2890, 16, 1520, 33, 8381, 4672, 775, 30, 3258, 16, 3258, 22, 273, 6724, 18, 8837, 2668, 1612, 2187, 296, 8837, 2187, 296, 455, 18, 2293, 2187, 296, 2293, 67, 588, 6...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 590, 67, 542, 12, 2890, 16, 1520, 33, 8381, 4672, 775, 30, 3258, 16, 3258, 22, 273, 6724, 18, 8837, 2668, 1612, 2187, 296, 8837, 2187, 296, 455, 18, 2293, 2187, 296, 2293, 67, 588, 6...
testformat("%*.*f", (10, 2, 1000.0), grouping=1, output=' 1,000.00',
testformat("%*.*f", (10, 2, 1000.0), grouping=1, output=' 1%s000.00' % sep,
def testformat(formatstr, value, grouping = 0, output=None, func=locale.format): if verbose: if output: print "%s %% %s =? %s ..." %\ (repr(formatstr), repr(value), repr(output)), else: print "%s %% %s works? ..." % (repr(formatstr), repr(value)), result = func(formatstr, value, grouping = grouping) if output and resul...
3173101aa34aee8b9fe17db6efcad0224c46775b /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12029/3173101aa34aee8b9fe17db6efcad0224c46775b/test_locale.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 2139, 12, 2139, 701, 16, 460, 16, 12116, 273, 374, 16, 876, 33, 7036, 16, 1326, 33, 6339, 18, 2139, 4672, 309, 3988, 30, 309, 876, 30, 1172, 2213, 87, 26510, 738, 87, 273, 35, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2139, 12, 2139, 701, 16, 460, 16, 12116, 273, 374, 16, 876, 33, 7036, 16, 1326, 33, 6339, 18, 2139, 4672, 309, 3988, 30, 309, 876, 30, 1172, 2213, 87, 26510, 738, 87, 273, 35, ...
mozIncludeBase = os.path.commonprefix(xpcom_includes['include_dirs'])
subdirs = ['dom', 'gfx', 'widget', 'commandhandler'] mozIncludeBase = None for dir in xpcom_includes['include_dirs']: if allIsDir(dir, subdirs): mozIncludeBase = dir if mozIncludeBase is None: raise ValueError("Can't find mozilla include base directory")
def parsePkgConfig(command, components, options_dict = None): """Helper function to parse compiler/linker arguments from pkg-config/mozilla-config and update include_dirs, library_dirs, etc. We return a dict with the following keys, which match up with keyword arguments to the setup function: include_dirs, library_dir...
b2fcb220136c6dc7d3ee7dbb6da33d8214c735a4 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12354/b2fcb220136c6dc7d3ee7dbb6da33d8214c735a4/setup.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1109, 11264, 809, 12, 3076, 16, 4085, 16, 702, 67, 1576, 273, 599, 4672, 3536, 2276, 445, 358, 1109, 5274, 19, 1232, 264, 1775, 628, 3475, 17, 1425, 19, 8683, 15990, 17, 1425, 471, 108...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1109, 11264, 809, 12, 3076, 16, 4085, 16, 702, 67, 1576, 273, 599, 4672, 3536, 2276, 445, 358, 1109, 5274, 19, 1232, 264, 1775, 628, 3475, 17, 1425, 19, 8683, 15990, 17, 1425, 471, 108...
self.debug = config.getint('Boto', 'debug', debug)
if debug: self.debug = debug else: self.debug = config.getint('Boto', 'debug', debug)
def __init__(self, server, aws_access_key_id=None, aws_secret_access_key=None, is_secure=True, port=None, proxy=None, proxy_port=None, proxy_user=None, proxy_pass=None, debug=0, https_connection_factory=None): """ @type server: string @param server: The server to make the connection to @type aws_access_key_id: string ...
dc26c0c97d9892e7f1336926a24ea5c671d71c71 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/1098/dc26c0c97d9892e7f1336926a24ea5c671d71c71/connection.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 1438, 16, 2287, 67, 3860, 67, 856, 67, 350, 33, 7036, 16, 2287, 67, 5875, 67, 3860, 67, 856, 33, 7036, 16, 353, 67, 8869, 33, 5510, 16, 1756, 33, 703...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 1438, 16, 2287, 67, 3860, 67, 856, 67, 350, 33, 7036, 16, 2287, 67, 5875, 67, 3860, 67, 856, 33, 7036, 16, 353, 67, 8869, 33, 5510, 16, 1756, 33, 703...
trace_information = ()
trace_information = []
def addIgnored(self, test, err): pass
2a7a12b9fb1a2815f910adcde930c17f8055a71c /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/6934/2a7a12b9fb1a2815f910adcde930c17f8055a71c/testit.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 527, 15596, 12, 2890, 16, 1842, 16, 393, 4672, 1342, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 15596, 12, 2890, 16, 1842, 16, 393, 4672, 1342, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
self.precision = 2
self.precision = precision
def __init__(self, length, unit, number_var = None, unit_var = None, command = None, args = (), precision = 2): self.length = length self.number_var = number_var self.unit = unit self.precision = 2 self.unit_var = unit_var self.callback = command if type(args) != TupleType: args = (args,) self.args = args self.set_vars...
bb12c56852f08d16fa7addf5d82961838b2be695 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/3123/bb12c56852f08d16fa7addf5d82961838b2be695/lengthvar.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 769, 16, 2836, 16, 1300, 67, 1401, 273, 599, 16, 2836, 67, 1401, 273, 599, 16, 1296, 273, 599, 16, 833, 273, 1832, 16, 6039, 273, 576, 4672, 365, 18, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 769, 16, 2836, 16, 1300, 67, 1401, 273, 599, 16, 2836, 67, 1401, 273, 599, 16, 1296, 273, 599, 16, 833, 273, 1832, 16, 6039, 273, 576, 4672, 365, 18, ...
if hint: continue
if hint or pkg in selected: continue
def iter_packages(self, packages, selected, hint=False): """Iter on the list of actions and apply them one-by-one
ab0576817151497fdda52a6927ea2e47cb997bd6 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/ab0576817151497fdda52a6927ea2e47cb997bd6/britney.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1400, 67, 10308, 12, 2890, 16, 5907, 16, 3170, 16, 7380, 33, 8381, 4672, 3536, 2360, 603, 326, 666, 434, 4209, 471, 2230, 2182, 1245, 17, 1637, 17, 476, 2, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1400, 67, 10308, 12, 2890, 16, 5907, 16, 3170, 16, 7380, 33, 8381, 4672, 3536, 2360, 603, 326, 666, 434, 4209, 471, 2230, 2182, 1245, 17, 1637, 17, 476, 2, -100, -100, -100, -100, -100...
if current_element is None: parent = SubElement(parent, 'text:p', attrib={ 'text:style-name': self.rststyle(style_name), })
def create_custom_headfoot(self, parent, text, style_name, automatic_styles): current_element = None field_iter = self.split_field_specifiers_iter(text) for item in field_iter: if item[0] == ODFTranslator.code_field: if item[1] not in ('p', 'P', 't1', 't2', 't3', 't4', 'd1', 'd2', 'd3', 'd4', 'd5', 's', 't', 'a'): msg ...
988997c774a8be826fbd79f3d98a9ae199c2a640 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/8194/988997c774a8be826fbd79f3d98a9ae199c2a640/__init__.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 752, 67, 3662, 67, 1978, 10923, 12, 2890, 16, 982, 16, 977, 16, 2154, 67, 529, 16, 5859, 67, 10218, 4672, 783, 67, 2956, 273, 599, 652, 67, 2165, 273, 365, 18, 4939, 67, 1518, 67, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 752, 67, 3662, 67, 1978, 10923, 12, 2890, 16, 982, 16, 977, 16, 2154, 67, 529, 16, 5859, 67, 10218, 4672, 783, 67, 2956, 273, 599, 652, 67, 2165, 273, 365, 18, 4939, 67, 1518, 67, ...
el1 = etree.SubElement(self.current_element, 'text:p', attrib=attrib)
el1 = SubElement(self.current_element, 'text:p', attrib=attrib)
def generate_figure(self, node, source, destination): caption = None for node1 in node.parent.children: if node1.tagname == 'caption': caption = node1.astext() self.image_count += 1 style_name = 'rstframestyle%d' % self.image_count if 'scale' in node.attributes: try: scale = int(node.attributes['scale']) if scale < 1 o...
277ba1af817dc725b8179dbbf649a815fdff5939 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/5620/277ba1af817dc725b8179dbbf649a815fdff5939/__init__.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2103, 67, 19675, 12, 2890, 16, 756, 16, 1084, 16, 2929, 4672, 11006, 273, 599, 364, 756, 21, 316, 756, 18, 2938, 18, 5906, 30, 309, 756, 21, 18, 2692, 529, 422, 296, 15386, 4278, 110...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2103, 67, 19675, 12, 2890, 16, 756, 16, 1084, 16, 2929, 4672, 11006, 273, 599, 364, 756, 21, 316, 756, 18, 2938, 18, 5906, 30, 309, 756, 21, 18, 2692, 529, 422, 296, 15386, 4278, 110...
assert isinstance(repr, rtuple.TupleRepr)
assert isinstance(repr, rtuple.AbstractTupleRepr)
def _emit(self, repr, hop): assert isinstance(repr, rtuple.TupleRepr) tupleitems_v = [] for h in self.holders: v = h.emit(repr.items_r[len(tupleitems_v)], hop) tupleitems_v.append(v) vtuple = rtuple.newtuple(hop.llops, repr, tupleitems_v) return vtuple
03295bd1df5cb9712efbf2513011ef7ccc171cd6 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/6934/03295bd1df5cb9712efbf2513011ef7ccc171cd6/callparse.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 18356, 12, 2890, 16, 8480, 16, 19055, 4672, 1815, 1549, 12, 12715, 16, 436, 8052, 18, 7469, 9038, 426, 683, 13, 3193, 3319, 67, 90, 273, 5378, 364, 366, 316, 365, 18, 9000, 30, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 18356, 12, 2890, 16, 8480, 16, 19055, 4672, 1815, 1549, 12, 12715, 16, 436, 8052, 18, 7469, 9038, 426, 683, 13, 3193, 3319, 67, 90, 273, 5378, 364, 366, 316, 365, 18, 9000, 30, ...
bonus += char.skill[ANATOMY] * 0.05 if char.skill[ANATOMY] >= 1000: bonus += 5 bonus += char.skill[TACTICS] * 0.0625 if char.skill[TACTICS] >= 1000: bonus += 6.25
bonus += char.skill[ANATOMY] * 0.05 if char.skill[ANATOMY] >= 1000: bonus += 5 bonus += char.skill[TACTICS] * 0.0625 if char.skill[TACTICS] >= 1000: bonus += 6.25
def scaledamage(char, damage, checkskills = 1): if checkskills: char.checkskill(TACTICS, 0, 1200) # Tactics gain char.checkskill(ANATOMY, 0, 1200) # Anatomy gain weapon = char.getweapon() # Get the total damage bonus this character gets bonus = properties.fromchar(char, DAMAGEBONUS) # For axes a lumberjacking skill ...
fb8ff05c963ebcef3febd1b1b0d3868fc9dda16b /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2534/fb8ff05c963ebcef3febd1b1b0d3868fc9dda16b/aos.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 12304, 301, 410, 12, 3001, 16, 302, 301, 410, 16, 4271, 16418, 87, 273, 404, 4672, 309, 4271, 16418, 87, 30, 1149, 18, 1893, 7771, 737, 12, 56, 6526, 28919, 16, 374, 16, 2593, 713, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 12304, 301, 410, 12, 3001, 16, 302, 301, 410, 16, 4271, 16418, 87, 273, 404, 4672, 309, 4271, 16418, 87, 30, 1149, 18, 1893, 7771, 737, 12, 56, 6526, 28919, 16, 374, 16, 2593, 713, 1...
logger.notify('Please make sure you remove any previous custom paths from'
logger.notify('Please make sure you remove any previous custom paths from '
def create_environment(home_dir, site_packages=True, clear=False): """ Creates a new environment in ``home_dir``. If ``site_packages`` is true (the default) then the global ``site-packages/`` directory will be on the path. If ``clear`` is true (default False) then the environment will first be cleared. """ lib_dir = ...
4144f674340966c6fbf2e6328671fcc45cfa35c4 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/12981/4144f674340966c6fbf2e6328671fcc45cfa35c4/virtualenv.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 752, 67, 10274, 12, 8712, 67, 1214, 16, 2834, 67, 10308, 33, 5510, 16, 2424, 33, 8381, 4672, 3536, 10210, 279, 394, 3330, 316, 12176, 8712, 67, 1214, 68, 8338, 225, 971, 12176, 4256, 6...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 752, 67, 10274, 12, 8712, 67, 1214, 16, 2834, 67, 10308, 33, 5510, 16, 2424, 33, 8381, 4672, 3536, 10210, 279, 394, 3330, 316, 12176, 8712, 67, 1214, 68, 8338, 225, 971, 12176, 4256, 6...
translation(domain, localedir).install(unicode)
translation(domain, localedir, fallback=1).install(unicode)
def install(domain, localedir=None, unicode=0): translation(domain, localedir).install(unicode)
9a3de066e492dbc907f7c2c36ee3118580554233 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8125/9a3de066e492dbc907f7c2c36ee3118580554233/gettext.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3799, 12, 4308, 16, 1191, 23210, 33, 7036, 16, 5252, 33, 20, 4672, 4794, 12, 4308, 16, 1191, 23210, 16, 5922, 33, 21, 2934, 5425, 12, 9124, 13, 565, 2, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3799, 12, 4308, 16, 1191, 23210, 33, 7036, 16, 5252, 33, 20, 4672, 4794, 12, 4308, 16, 1191, 23210, 16, 5922, 33, 21, 2934, 5425, 12, 9124, 13, 565, 2, -100, -100, -100, -100, -100, ...
name=filename, user=user, passwd='r3P0:4uTH')
name=filename, user=db_write_user, passwd=db_write_pass)
def add_vt_to_db(self, host, port, db_name, user, vt_filepath, filename, repository_vt_id, repository_creator): """add_vt_to_db(host:str, port:int, db_name:str, user:str, vt_filepath:str, filename:str, repository_vt_id:int, repository_creator:str) -> int This will add a vistrail in vt_filepath to the the database. Befo...
3ebd431b3e88347283e0d6f951c8fac25465a30e /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/6341/3ebd431b3e88347283e0d6f951c8fac25465a30e/application_server.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 527, 67, 11734, 67, 869, 67, 1966, 12, 2890, 16, 1479, 16, 1756, 16, 1319, 67, 529, 16, 729, 16, 7966, 67, 10561, 16, 1544, 16, 3352, 67, 11734, 67, 350, 16, 3352, 67, 20394, 4672, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 527, 67, 11734, 67, 869, 67, 1966, 12, 2890, 16, 1479, 16, 1756, 16, 1319, 67, 529, 16, 729, 16, 7966, 67, 10561, 16, 1544, 16, 3352, 67, 11734, 67, 350, 16, 3352, 67, 20394, 4672, ...
task_self.task_update_status("SUICIDING")
_task_self.task_update_status("SUICIDING")
def _task_sig_suicide(sig, frame): """Signal handler for the 'suicide' signal sent by BibSched.""" task_self = frame.f_globals._task_self if task_self.options["verbose"] >= 9: write_message("task_sig_suicide(), got signal %s frame %s" % (sig, frame)) write_message("suiciding myself now...") task_self.task_update_status...
06b4f181e28a51366c0d7d568814d79f00866948 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/12027/06b4f181e28a51366c0d7d568814d79f00866948/bibtask.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 4146, 67, 7340, 67, 26560, 335, 831, 12, 7340, 16, 2623, 4672, 3536, 11208, 1838, 364, 326, 296, 26560, 335, 831, 11, 4277, 3271, 635, 605, 495, 55, 2049, 12123, 1562, 67, 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, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 4146, 67, 7340, 67, 26560, 335, 831, 12, 7340, 16, 2623, 4672, 3536, 11208, 1838, 364, 326, 296, 26560, 335, 831, 11, 4277, 3271, 635, 605, 495, 55, 2049, 12123, 1562, 67, 2890, 2...
bw = int(attrs.get('bandwidth',"")) const = int(attrs.get('constellation',"")) crh = int(attrs.get('code_rate_hp',"")) crl = int(attrs.get('code_rate_lp',"")) guard = int(attrs.get('guard_interval',"")) transm = int(attrs.get('transmission_mode',"")) hierarchy = int(attrs.get('hierarchy_information',"")) inv = int(attr...
bw = int(attrs.get('bandwidth',"3")) const = int(attrs.get('constellation',"1")) crh = int(attrs.get('code_rate_hp',"5")) if crh > 5: crh = 5 crl = int(attrs.get('code_rate_lp',"5")) if crl > 5: crl = 5 guard = int(attrs.get('guard_interval',"4")) transm = int(attrs.get('transmission_mode',"2")) hierarchy = int(attrs.g...
def startElement(self, name, attrs): if (name == "terrestrial"): #print "found sat " + attrs.get('name',"") + " " + str(attrs.get('position',"")) tname = attrs.get('name',"").encode("UTF-8") tflags = attrs.get('flags',"") self.terrestrialsList.append((tname, tflags)) self.parsedTer = str(tname) elif (name == "transpond...
0da52198b0394f88e10945d74bff75bf340960b1 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/6652/0da52198b0394f88e10945d74bff75bf340960b1/NimManager.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 13591, 12, 2890, 16, 508, 16, 3422, 4672, 309, 261, 529, 422, 315, 387, 455, 17493, 6, 4672, 468, 1188, 315, 7015, 5942, 315, 397, 3422, 18, 588, 2668, 529, 2187, 3660, 13, 397, 315, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 13591, 12, 2890, 16, 508, 16, 3422, 4672, 309, 261, 529, 422, 315, 387, 455, 17493, 6, 4672, 468, 1188, 315, 7015, 5942, 315, 397, 3422, 18, 588, 2668, 529, 2187, 3660, 13, 397, 315, ...
'inj::l4proto' : [PM_TYPE_INT, 'Used to track down L4 protocol for ' 'injection'], 'inj::flags' : [PM_TYPE_INT, 'Used for injection'], 'inj::payload' : [PM_TYPE_STR, 'Data for injection'], 'inj::data' : [PM_TYPE_INSTANCE, 'General objects'],
def __init__(self): self._output = None # It seems that specifying {} * n doesn't create a new object # but instead only create a new pointer to the same object. # Here we need separated dict so we should declare them all self._decoders = ({}, {}, {}, {}, {}, {}, {}, {}) self._injectors = ({}, {}, {}, {}, {}, {}, {}, {...
e70cf8a0671263c725049e12e905a8728d627b42 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/11468/e70cf8a0671263c725049e12e905a8728d627b42/auditmanager.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 4672, 365, 6315, 2844, 273, 599, 468, 2597, 12001, 716, 13664, 2618, 380, 290, 3302, 1404, 752, 279, 394, 733, 468, 1496, 3560, 1338, 752, 279, 394, 4407, 358,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 4672, 365, 6315, 2844, 273, 599, 468, 2597, 12001, 716, 13664, 2618, 380, 290, 3302, 1404, 752, 279, 394, 733, 468, 1496, 3560, 1338, 752, 279, 394, 4407, 358,...
if index: self.account[1] = model[index][0] return
self.account[1] = model[index][0] return True
def changed_cb(self, combobox): model = combobox.get_model() index = combobox.get_active() if index: self.account[1] = model[index][0] return
ba2259c3910413e91e9cae31b1b86044dfccae89 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/4851/ba2259c3910413e91e9cae31b1b86044dfccae89/casnet-gui.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3550, 67, 7358, 12, 2890, 16, 3894, 27570, 4672, 938, 273, 3894, 27570, 18, 588, 67, 2284, 1435, 770, 273, 3894, 27570, 18, 588, 67, 3535, 1435, 309, 770, 30, 365, 18, 4631, 63, 21, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3550, 67, 7358, 12, 2890, 16, 3894, 27570, 4672, 938, 273, 3894, 27570, 18, 588, 67, 2284, 1435, 770, 273, 3894, 27570, 18, 588, 67, 3535, 1435, 309, 770, 30, 365, 18, 4631, 63, 21, ...
tmpList.append(chan) zValueDict[sngl.ifo]=tmpList else: sys.stdout.write("Omega scan summary file not for for %s. ...skipping...\n"%sngl.ifo)
zValueDict[sngl.ifo].append(chan) if len(zValueDict[sngl.ifo]) == 0: sys.stdout.write("Omega scan summary file not or empty for %s. ...continuing...\n"%sngl.ifo)
def prepareChecklist(wikiFilename=None,wikiCoinc=None,wikiTree=None,file2URL=None): """ Method to prepare a checklist where data products are isolated in directory. """ endOfS5=int(875232014) wikiFileFinder=findFileType(wikiTree,wikiCoinc) # Check to see if wiki file with name already exists maxCount=0 while os.path.ex...
481b556f895e5b0b4caf0acaf35400d2993db8e5 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/3592/481b556f895e5b0b4caf0acaf35400d2993db8e5/makeCheckListWiki.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2911, 1564, 1098, 12, 13044, 5359, 33, 7036, 16, 13044, 27055, 71, 33, 7036, 16, 13044, 2471, 33, 7036, 16, 768, 22, 1785, 33, 7036, 4672, 3536, 2985, 358, 2911, 279, 866, 1098, 1625, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2911, 1564, 1098, 12, 13044, 5359, 33, 7036, 16, 13044, 27055, 71, 33, 7036, 16, 13044, 2471, 33, 7036, 16, 768, 22, 1785, 33, 7036, 4672, 3536, 2985, 358, 2911, 279, 866, 1098, 1625, ...
r""" Sequence of numbers of the third kind, i.e., numbers that can be written as a sum of at least three consecutive positive integers. Odd primes can only be written as a sum of two consecutive integers. Powers of 2 do not have a representation as a sum of $k$ consecutive integers (other than the trivial $n = n$ for ...
def __init__(self): r""" Sequence of numbers of the third kind, i.e., numbers that can be written as a sum of at least three consecutive positive integers. Odd primes can only be written as a sum of two consecutive integers. Powers of 2 do not have a representation as a sum of $k$ consecutive integers (other than the ...
def _eval(self, n): return perm_mh(n, 4)
69a199217d612e1c590af73e16003812c85b93ec /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9890/69a199217d612e1c590af73e16003812c85b93ec/sloane_functions.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 8622, 12, 2890, 16, 290, 4672, 327, 4641, 67, 81, 76, 12, 82, 16, 1059, 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,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 8622, 12, 2890, 16, 290, 4672, 327, 4641, 67, 81, 76, 12, 82, 16, 1059, 13, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Returns True if the (x,y) is an affine point on this curve.
Returns True if (x,y) is an affine point on this curve.
def is_on_curve(self, x, y): """ Returns True if the (x,y) is an affine point on this curve.
b731b462902660c0112a8494ebc6f58ef36102b5 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9890/b731b462902660c0112a8494ebc6f58ef36102b5/ell_generic.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 353, 67, 265, 67, 16683, 12, 2890, 16, 619, 16, 677, 4672, 3536, 2860, 1053, 309, 326, 261, 92, 16, 93, 13, 353, 392, 28381, 1634, 603, 333, 8882, 18, 2, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 353, 67, 265, 67, 16683, 12, 2890, 16, 619, 16, 677, 4672, 3536, 2860, 1053, 309, 326, 261, 92, 16, 93, 13, 353, 392, 28381, 1634, 603, 333, 8882, 18, 2, -100, -100, -100, -100, -100...
fillColorLozengeType = 'UnselectedGradientRight'
fillColorLozengeType = 'UnSelectedGradientRight'
def DrawCollectionSwatches(self, dc, topLeft, bottomRight, vertical=True): """ topLeft and bottomRight must be vectors (lists which can be added and subtracted like vectors) """ master = self.event.getMaster().itsItem app_ns = schema.ns('osaf.app', self.event.itsItem.itsView) sidebarCollections = app_ns.sidebarCollecti...
505b5665b0d247a63431503f6743d57700b7d6eb /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9228/505b5665b0d247a63431503f6743d57700b7d6eb/CalendarCanvas.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 10184, 2532, 6050, 505, 281, 12, 2890, 16, 6744, 16, 1760, 3910, 16, 5469, 4726, 16, 9768, 33, 5510, 4672, 3536, 1760, 3910, 471, 5469, 4726, 1297, 506, 10046, 261, 9772, 1492, 848, 506,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 10184, 2532, 6050, 505, 281, 12, 2890, 16, 6744, 16, 1760, 3910, 16, 5469, 4726, 16, 9768, 33, 5510, 4672, 3536, 1760, 3910, 471, 5469, 4726, 1297, 506, 10046, 261, 9772, 1492, 848, 506,...
if (DIRECTXSDK.has_key("DX"+ver)==0) and (OMIT.count("DX"+ver)==0): WARNINGS.append("I cannot locate SDK for DX"+ver) WARNINGS.append("I have automatically added this command-line option: --no-dx"+ver) OMIT.append("DX"+ver) else: WARNINGS.append("Using DX"+ver+" sdk: "+DIRECTXSDK["DX"+ver])
if (OMIT.count("DX"+ver)==0): if (DIRECTXSDK.has_key("DX"+ver)==0): WARNINGS.append("I cannot locate SDK for DX"+ver) WARNINGS.append("I have automatically added this command-line option: --no-dx"+ver) OMIT.append("DX"+ver) else: WARNINGS.append("Using DX"+ver+" sdk: "+DIRECTXSDK["DX"+ver])
def parseopts(args): global COMPILER,OPTIMIZE,OMIT,INSTALLER,GENMAN,SLAVEBUILD global VERSION,COMPRESSOR,VERBOSE,SLAVEFILE,THREADCOUNT longopts = [ "help","package-info","compiler=","directx-sdk=","slavebuild=", "optimize=","everything","nothing","installer","quiet","verbose", "version=","lzma","no-python","slaves=","t...
dfeb296267c8ecc51ee9b1d7a206a82d0dafa03e /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/7242/dfeb296267c8ecc51ee9b1d7a206a82d0dafa03e/makepanda.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1109, 4952, 12, 1968, 4672, 2552, 5423, 1102, 14668, 16, 15620, 3445, 15641, 16, 1872, 1285, 16, 28865, 654, 16, 16652, 9560, 16, 55, 2534, 3412, 20215, 2552, 8456, 16, 4208, 22526, 916, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1109, 4952, 12, 1968, 4672, 2552, 5423, 1102, 14668, 16, 15620, 3445, 15641, 16, 1872, 1285, 16, 28865, 654, 16, 16652, 9560, 16, 55, 2534, 3412, 20215, 2552, 8456, 16, 4208, 22526, 916, ...
diffs = test_d['diffs']
diffs = test_tuple.diffs
def process_axis(options, found, labels, labels_vs, label): tests = labels.setdefault(label, {}) for test in sorted(found[label]): test_tuple = found[label][test] path = test_tuple.times[max(test_tuple.times)] abs_path = os.path.join(options.output_dir, path) if not os.path.isfile(os.path.join(abs_path, 'funkload.xml'...
1b6aa29da69713a5ea9f8e073adde5473976506f /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/9007/1b6aa29da69713a5ea9f8e073adde5473976506f/label.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1207, 67, 4890, 12, 2116, 16, 1392, 16, 3249, 16, 3249, 67, 6904, 16, 1433, 4672, 7434, 273, 3249, 18, 542, 1886, 12, 1925, 16, 2618, 13, 364, 1842, 316, 3115, 12, 7015, 63, 1925, 65...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1207, 67, 4890, 12, 2116, 16, 1392, 16, 3249, 16, 3249, 67, 6904, 16, 1433, 4672, 7434, 273, 3249, 18, 542, 1886, 12, 1925, 16, 2618, 13, 364, 1842, 316, 3115, 12, 7015, 63, 1925, 65...
for i in range(plot_points):
for i in range(plot_points+1):
def _call(self, funcs, xrange, parametric=False, polar=False, label='', **kwds): options = dict(self.options) for k, v in kwds.iteritems(): options[k] = v
a081a6c2fb675b599418b17f70a9433ee0d4a5c2 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9417/a081a6c2fb675b599418b17f70a9433ee0d4a5c2/plot.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 1991, 12, 2890, 16, 15630, 16, 12314, 16, 579, 1591, 33, 8381, 16, 24244, 33, 8381, 16, 1433, 2218, 2187, 2826, 25577, 4672, 702, 273, 2065, 12, 2890, 18, 2116, 13, 364, 417, 16, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 1991, 12, 2890, 16, 15630, 16, 12314, 16, 579, 1591, 33, 8381, 16, 24244, 33, 8381, 16, 1433, 2218, 2187, 2826, 25577, 4672, 702, 273, 2065, 12, 2890, 18, 2116, 13, 364, 417, 16, ...
if data is an instance of the Graph class)
if data is an instance of the ``Graph`` class)
def canonical_label(self, partition=None, certify=False, verbosity=0, edge_labels=False): """ Returns the canonical label with respect to the partition. If no partition is given, uses the unit partition. INPUT: - ``partition`` - if given, the canonical label with respect to this partition will be computed. The defa...
ed981e55ab1e450a7a93415d1a6c2e8a67d3eaa9 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/9890/ed981e55ab1e450a7a93415d1a6c2e8a67d3eaa9/graph.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 7378, 67, 1925, 12, 2890, 16, 3590, 33, 7036, 16, 3320, 1164, 33, 8381, 16, 11561, 33, 20, 16, 3591, 67, 5336, 33, 8381, 4672, 3536, 2860, 326, 7378, 1433, 598, 8762, 358, 326, 3590, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 7378, 67, 1925, 12, 2890, 16, 3590, 33, 7036, 16, 3320, 1164, 33, 8381, 16, 11561, 33, 20, 16, 3591, 67, 5336, 33, 8381, 4672, 3536, 2860, 326, 7378, 1433, 598, 8762, 358, 326, 3590, ...
assert fd.readline() == 'hello\n'
assert fd.readline() == 'hello\n'
def did_it_work(server): client = socket.socket(socket.AF_INET, socket.SOCK_STREAM) client.connect(('127.0.0.1', server.getsockname()[1])) fd = client.makefile() client.close() assert fd.readline() == 'hello\n' assert fd.read() == '' fd.close()
ad469044d2b02aeb104a62a0a03f885105a2028f /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/10078/ad469044d2b02aeb104a62a0a03f885105a2028f/greenio_test.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 5061, 67, 305, 67, 1252, 12, 3567, 4672, 1004, 273, 2987, 18, 7814, 12, 7814, 18, 6799, 67, 18819, 16, 2987, 18, 3584, 3507, 67, 13693, 13, 1004, 18, 3612, 12, 2668, 14260, 18, 20, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5061, 67, 305, 67, 1252, 12, 3567, 4672, 1004, 273, 2987, 18, 7814, 12, 7814, 18, 6799, 67, 18819, 16, 2987, 18, 3584, 3507, 67, 13693, 13, 1004, 18, 3612, 12, 2668, 14260, 18, 20, 1...
self.UpdatedTiles = 0xFFFFFFFF
self.UpdatedTiles = 0xFFFFFFFFL
def cdgLoadColourTableCommon (self, packd, table):
2b41dfdc6d89a0a7e44dca9edfc6cf7601a09e7d /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12653/2b41dfdc6d89a0a7e44dca9edfc6cf7601a09e7d/pycdg.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 7976, 75, 2563, 26404, 1388, 6517, 261, 2890, 16, 2298, 72, 16, 1014, 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, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 7976, 75, 2563, 26404, 1388, 6517, 261, 2890, 16, 2298, 72, 16, 1014, 4672, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
if imObj.currGuideMode == None: imObj.defGuideMode = guideMode imObj.currGuideMode = guideMode if self.isDispObj(imObj):
imObj = self.dispImObj if imObj: if imObj.currGuideMode == None: imObj.defGuideMode = guideMode imObj.currGuideMode = guideMode if self.showCurrWdg.getBool():
def updGuideMode(self, guideMode, isCurrent, keyVar): """New guideMode data found. """ #print "%s updGuideMode(guideMode=%r, isCurrent=%r)" % (self.actor, guideMode, isCurrent) self.setGuideState() if not isCurrent: return
dad562967f6ad386f1d658a90b8d5b990a22361f /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/6236/dad562967f6ad386f1d658a90b8d5b990a22361f/GuideWdg.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2166, 17424, 2309, 12, 2890, 16, 7343, 2309, 16, 25694, 16, 498, 1537, 4672, 3536, 1908, 7343, 2309, 501, 1392, 18, 3536, 468, 1188, 2213, 87, 2166, 17424, 2309, 12, 12118, 2309, 5095, 8...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2166, 17424, 2309, 12, 2890, 16, 7343, 2309, 16, 25694, 16, 498, 1537, 4672, 3536, 1908, 7343, 2309, 501, 1392, 18, 3536, 468, 1188, 2213, 87, 2166, 17424, 2309, 12, 12118, 2309, 5095, 8...
local = MoinLocalWiki(self.request)
local = MoinLocalWiki(self.request, params["localPrefix"])
def render(self): """ Render action
5a4993805437d251c71e379305ced9b6fdbab155 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/888/5a4993805437d251c71e379305ced9b6fdbab155/SyncPages.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1743, 12, 2890, 4672, 3536, 6987, 1301, 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, ...
[ 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...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1743, 12, 2890, 4672, 3536, 6987, 1301, 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, -...
for (file, (owner, perms) in self.rcsFiles.items():
for (file, (owner, perms)) in self.rcsFiles.items():
def generate_boot(self): list = [] list.append('') list.append('%post') # Boot PRE # - check in/out all modified files # - write the <boot order="pre"> text list.append('') list.append('cat >> /etc/sysconfig/rocks-pre << EOF')
81eb7730b48df4aa01e12b11033d2650acb3d8d2 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/7066/81eb7730b48df4aa01e12b11033d2650acb3d8d2/gen.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2103, 67, 7137, 12, 2890, 4672, 666, 273, 5378, 666, 18, 6923, 2668, 6134, 666, 18, 6923, 29909, 2767, 6134, 225, 468, 26254, 7071, 468, 202, 17, 866, 316, 19, 659, 777, 4358, 1390, 46...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2103, 67, 7137, 12, 2890, 4672, 666, 273, 5378, 666, 18, 6923, 2668, 6134, 666, 18, 6923, 29909, 2767, 6134, 225, 468, 26254, 7071, 468, 202, 17, 866, 316, 19, 659, 777, 4358, 1390, 46...
def ask(self, question):
def confirm(self, question):
def ask(self, question): return appuifw.query(unicode(question), "query")
35f9f59cd14aea6e029037d2fdc65879ff743a22 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/5169/35f9f59cd14aea6e029037d2fdc65879ff743a22/aspyplayer.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 6932, 12, 2890, 16, 5073, 4672, 327, 595, 89, 430, 91, 18, 2271, 12, 9124, 12, 4173, 3631, 315, 2271, 7923, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 6932, 12, 2890, 16, 5073, 4672, 327, 595, 89, 430, 91, 18, 2271, 12, 9124, 12, 4173, 3631, 315, 2271, 7923, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
message = "building associated BuildDir targets: %s" % string.join(map(str, targets))
message = fmt % string.join(map(str, targets))
def build_dir_target_climb(self, dir, tail): """Create targets in corresponding build directories
913e7dcaa17f6f9aeee5e94ed8200c2df7f3389b /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12817/913e7dcaa17f6f9aeee5e94ed8200c2df7f3389b/FS.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1361, 67, 1214, 67, 3299, 67, 830, 381, 70, 12, 2890, 16, 1577, 16, 5798, 4672, 3536, 1684, 5774, 316, 4656, 1361, 6402, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1361, 67, 1214, 67, 3299, 67, 830, 381, 70, 12, 2890, 16, 1577, 16, 5798, 4672, 3536, 1684, 5774, 316, 4656, 1361, 6402, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
if not job.inputdata.type == 'DQ2_COPY':
if job.inputdata.type == 'DQ2_COPY': self.stats['numfiles'] = numfiles / 2 self.stats['totalevents'] = totalevents elif job.inputdata.type == 'FILE_STAGER': self.stats['numfiles'] = (numfiles - 2)/2 self.stats['totalevents'] = jtotalevents else:
def collectStats(self): """Collect job statistics from different log files and fill dict Athena.stats""" import gzip, time, fileinput from Ganga.GPIDev.Lib.Job import Job job = self.getJobObject()
748381bb0d116dbfdf831cccab99070c274aefd6 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/1488/748381bb0d116dbfdf831cccab99070c274aefd6/Athena.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3274, 4195, 12, 2890, 4672, 3536, 10808, 1719, 7691, 628, 3775, 613, 1390, 471, 3636, 2065, 432, 15991, 69, 18, 5296, 8395, 1930, 10331, 16, 813, 16, 585, 2630, 628, 611, 539, 69, 18, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3274, 4195, 12, 2890, 4672, 3536, 10808, 1719, 7691, 628, 3775, 613, 1390, 471, 3636, 2065, 432, 15991, 69, 18, 5296, 8395, 1930, 10331, 16, 813, 16, 585, 2630, 628, 611, 539, 69, 18, ...
return [(i, self.series[i]) for i in xrange(start, len(self.series))]
unapplied = [] for i in xrange(start, len(self.series)): pushable, reason = self.pushable(i) if pushable: unapplied.append((i, self.series[i])) self.explain_pushable(i) return unapplied
def unapplied(self, repo, patch=None): if patch and patch not in self.series: raise util.Abort(_("patch %s is not in series file") % patch) if not patch: start = self.series_end() else: start = self.series.index(patch) + 1 return [(i, self.series[i]) for i in xrange(start, len(self.series))]
9b7c18463dac2977867ac25875eb695dc065ef16 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/11312/9b7c18463dac2977867ac25875eb695dc065ef16/mq.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 640, 438, 3110, 12, 2890, 16, 3538, 16, 4729, 33, 7036, 4672, 309, 4729, 471, 4729, 486, 316, 365, 18, 10222, 30, 1002, 1709, 18, 13572, 24899, 2932, 2272, 738, 87, 353, 486, 316, 4166...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 640, 438, 3110, 12, 2890, 16, 3538, 16, 4729, 33, 7036, 4672, 309, 4729, 471, 4729, 486, 316, 365, 18, 10222, 30, 1002, 1709, 18, 13572, 24899, 2932, 2272, 738, 87, 353, 486, 316, 4166...
"error listing files in %s: %s" % (src, errstr)
"error listing files in '%s': %s" % (src, errstr)
def copy_tree (src, dst, preserve_mode=1, preserve_times=1, preserve_symlinks=0, update=0, verbose=0, dry_run=0): """Copy an entire directory tree 'src' to a new location 'dst'. Both 'src' and 'dst' must be directory names. If 'src' is not a directory, raise DistutilsFileError. If 'dst' does not exist, it is creat...
43b44a023f76e9f81e05b84e217f22174be6ede7 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8125/43b44a023f76e9f81e05b84e217f22174be6ede7/util.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1610, 67, 3413, 261, 4816, 16, 3046, 16, 9420, 67, 3188, 33, 21, 16, 9420, 67, 8293, 33, 21, 16, 9420, 67, 21278, 87, 33, 20, 16, 1089, 33, 20, 16, 3988, 33, 20, 16, 10299, 67, 2...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1610, 67, 3413, 261, 4816, 16, 3046, 16, 9420, 67, 3188, 33, 21, 16, 9420, 67, 8293, 33, 21, 16, 9420, 67, 21278, 87, 33, 20, 16, 1089, 33, 20, 16, 3988, 33, 20, 16, 10299, 67, 2...
def __init__(self, db_name):
def __init__(self, db_name=None):
def __init__(self, db_name): self.db_name = db_name
ad869c9e37f393c530111692811e39d152145add /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9857/ad869c9e37f393c530111692811e39d152145add/message.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 1319, 67, 529, 33, 7036, 4672, 365, 18, 1966, 67, 529, 273, 1319, 67, 529, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 1319, 67, 529, 33, 7036, 4672, 365, 18, 1966, 67, 529, 273, 1319, 67, 529, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
return max([[n.__class__ for n in row].count(Cell) for row in self.rows])
cols = [[n.__class__ for n in row].count(Cell) for row in self.rows] if cols: return max(cols) else: return 0
def numcols(self): return max([[n.__class__ for n in row].count(Cell) for row in self.rows])
70c9cd0f0f90471a0110998468a237e6443010a7 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/12391/70c9cd0f0f90471a0110998468a237e6443010a7/advtree.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 818, 6842, 12, 2890, 4672, 327, 943, 3816, 63, 82, 16186, 1106, 972, 364, 290, 316, 1027, 8009, 1883, 12, 4020, 13, 364, 1027, 316, 365, 18, 3870, 5717, 2, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 818, 6842, 12, 2890, 4672, 327, 943, 3816, 63, 82, 16186, 1106, 972, 364, 290, 316, 1027, 8009, 1883, 12, 4020, 13, 364, 1027, 316, 365, 18, 3870, 5717, 2, -100, -100, -100, -100, -100...
if value.startswith('also '):
if value.startswith('also ') or value.startswith('also:'):
def factoid_add(self, text, channel, editor): db = self.get_db(channel) cs = db.cursor()
e93d83aec360e0e6169a5b424f072c5646cc3f0a /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/3124/e93d83aec360e0e6169a5b424f072c5646cc3f0a/plugin.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 5410, 839, 67, 1289, 12, 2890, 16, 977, 16, 1904, 16, 4858, 4672, 1319, 273, 365, 18, 588, 67, 1966, 12, 4327, 13, 2873, 273, 1319, 18, 9216, 1435, 2, 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, 0, 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, 5410, 839, 67, 1289, 12, 2890, 16, 977, 16, 1904, 16, 4858, 4672, 1319, 273, 365, 18, 588, 67, 1966, 12, 4327, 13, 2873, 273, 1319, 18, 9216, 1435, 2, -100, -100, -100, -100, -100, -...
req = "SELECT LFN,p.Status,p.JobID,p.UsedSE FROM DataFiles AS d,T_"+ \ str(transID)+" AS p WHERE "+"p.FileID=d.FileID ORDER by LFN" if order_by_job: req = "SELECT LFN,p.Status,p.JobID,p.UsedSE FROM DataFiles AS d,T_"+ \ str(transID)+" AS p WHERE "+"p.FileID=d.FileID ORDER by p.JobID" result = self._query(req) if not r...
def getFilesForTransformation(self,name,order_by_job=False): """ Get files and their status for the given transformation """ res = self.getTransformation(name) if not res['OK']: return S_ERROR("Transformation is not found") transID = res['Value']['TransID']
d1afb271a8b0ccf92b67dfa3afc748418f55f0ce /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/12864/d1afb271a8b0ccf92b67dfa3afc748418f55f0ce/TransformationDB.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 18262, 1290, 15292, 12, 2890, 16, 529, 16, 1019, 67, 1637, 67, 4688, 33, 8381, 4672, 3536, 968, 1390, 471, 3675, 1267, 364, 326, 864, 8620, 3536, 400, 273, 365, 18, 588, 15292, 12, 529...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 18262, 1290, 15292, 12, 2890, 16, 529, 16, 1019, 67, 1637, 67, 4688, 33, 8381, 4672, 3536, 968, 1390, 471, 3675, 1267, 364, 326, 864, 8620, 3536, 400, 273, 365, 18, 588, 15292, 12, 529...
if self.directories.has_key(self.currentdir):
if self.directories.has_key(currentdir):
def MakeNewModel(self, list):
8cf73cf86085b9e4480824012a37954dce2e6258 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/8738/8cf73cf86085b9e4480824012a37954dce2e6258/userbrowse.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4344, 1908, 1488, 12, 2890, 16, 666, 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, ...
[ 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...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4344, 1908, 1488, 12, 2890, 16, 666, 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...
GROUP BY l.partner_id', (tuple(move_state), tuple(self.ACCOUNT_TYPE), self.date_from, tuple(partner_ids),self.date_from))
AND (l.date <= %s)\ GROUP BY l.partner_id', (tuple(move_state), tuple(self.ACCOUNT_TYPE), self.date_from, tuple(partner_ids),self.date_from, self.date_from,))
def _get_lines(self, form): res = [] self.cr.execute('SELECT DISTINCT res_partner.id AS id,\ res_partner.name AS name \ FROM res_partner,account_move_line AS l, account_account\ WHERE (l.account_id=account_account.id) \ AND ((reconcile_id IS NULL)\ OR (reconcile_id IN (SELECT recon.id FROM account_move_reconcile AS rec...
e33b0323f7d3bcc8461ccb90e8996b9fa5978836 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/7397/e33b0323f7d3bcc8461ccb90e8996b9fa5978836/account_aged_partner_balance.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 588, 67, 3548, 12, 2890, 16, 646, 4672, 400, 273, 5378, 365, 18, 3353, 18, 8837, 2668, 4803, 23286, 400, 67, 31993, 18, 350, 5355, 612, 17211, 400, 67, 31993, 18, 529, 5355, 508, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 588, 67, 3548, 12, 2890, 16, 646, 4672, 400, 273, 5378, 365, 18, 3353, 18, 8837, 2668, 4803, 23286, 400, 67, 31993, 18, 350, 5355, 612, 17211, 400, 67, 31993, 18, 529, 5355, 508, ...
wl("License: Eclipse Public License - Version 1.0")
wl("License: Dual license model; choose one of two:") wl(" Eclipse Public License - Version 1.0")
def wl(s): f.write(ind()+s+endl)
5b83d905ca52cfdbebb54e54221f0bf3a6987641 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/5430/5b83d905ca52cfdbebb54e54221f0bf3a6987641/dispatch_gen.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 19564, 12, 87, 4672, 284, 18, 2626, 12, 728, 1435, 15, 87, 15, 409, 80, 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,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 19564, 12, 87, 4672, 284, 18, 2626, 12, 728, 1435, 15, 87, 15, 409, 80, 13, 225, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
self.params[dict(attrs)['name']] = dict(attrs)['value']
self.params[str(dict(attrs)['name']).lower()] = dict(attrs)['value']
def handle_starttag(self, tag, attrs): # first ul, start processing from here if tag == 'ul' and not self.tagstack: self.tagstack.append(tag) self.parsed += '\n[' # if inside ul elif self.tagstack: if tag == 'li': if self.tagstack[-1] != 'ul': self.parsed += ']' self.tagstack.pop('li') indent = ' ' * len(self.tagstack)...
8e2cb01abaaa7a64f24d58da4dd7f20bf97e7d57 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/5198/8e2cb01abaaa7a64f24d58da4dd7f20bf97e7d57/CHM.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1640, 67, 1937, 2692, 12, 2890, 16, 1047, 16, 3422, 4672, 468, 1122, 7493, 16, 787, 4929, 628, 2674, 309, 1047, 422, 296, 332, 11, 471, 486, 365, 18, 2692, 3772, 30, 365, 18, 2692, 3...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1640, 67, 1937, 2692, 12, 2890, 16, 1047, 16, 3422, 4672, 468, 1122, 7493, 16, 787, 4929, 628, 2674, 309, 1047, 422, 296, 332, 11, 471, 486, 365, 18, 2692, 3772, 30, 365, 18, 2692, 3...
self.testButton.actionPerformed = self.didWeMove
self.testButton.actionPerformed = self.callBackForDidWeMove
def setup(self) : # get other setup things
6619b76b28dbc49528bf2dca556859e56cc65d4d /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/2146/6619b76b28dbc49528bf2dca556859e56cc65d4d/RobotThrottle2.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3875, 12, 2890, 13, 294, 225, 468, 336, 1308, 3875, 9198, 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,...
[ 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...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3875, 12, 2890, 13, 294, 225, 468, 336, 1308, 3875, 9198, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
node.set_user_application(True)
def set_continuous_eval(self, vid, state=True): """ set vid as a continuous evaluated node """
90cc3b5d89e608eb6d54b00e7c9a6c5e87731824 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/11338/90cc3b5d89e608eb6d54b00e7c9a6c5e87731824/compositenode.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 444, 67, 31056, 67, 8622, 12, 2890, 16, 18339, 16, 919, 33, 5510, 4672, 3536, 444, 18339, 487, 279, 17235, 12697, 756, 3536, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 444, 67, 31056, 67, 8622, 12, 2890, 16, 18339, 16, 919, 33, 5510, 4672, 3536, 444, 18339, 487, 279, 17235, 12697, 756, 3536, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
TODO: better name? to_standard_tableau? and should *actually* return a Tableau object?
TODO: better name? ``to_standard_tableau``? and should *actually* return a Tableau object?
def to_tableau(self): r""" returns a standard tableau of length less than or equal to 2 with the size the same as the length of the list the standard tableau will be rectangular iff ``self`` is a complete Dyck word
7e1334f768dfbfef3881c254af52ae022484f92b /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/9417/7e1334f768dfbfef3881c254af52ae022484f92b/dyck_word.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 358, 67, 2121, 8377, 12, 2890, 4672, 436, 8395, 1135, 279, 4529, 1014, 8377, 434, 769, 5242, 2353, 578, 3959, 358, 576, 598, 326, 963, 326, 1967, 487, 326, 769, 434, 326, 666, 326, 452...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 358, 67, 2121, 8377, 12, 2890, 4672, 436, 8395, 1135, 279, 4529, 1014, 8377, 434, 769, 5242, 2353, 578, 3959, 358, 576, 598, 326, 963, 326, 1967, 487, 326, 769, 434, 326, 666, 326, 452...
basket_name=row[11]
sql = "select name from basket where id=%s"%row[10] query_result = run_sql(sql) basket_name=query_result[0][0]
def perform_list_alerts (uid): # set variables out = "" id_user = uid # XXX # link to the "add new alert" form out += """<P>Set a new alert from <A href="display">your searches</A>, """\ """the <A href="display?p='y'">most popular searches</A> or the input form.</P>""" # query the database SQL_query = "SELECT q.id, q....
7ceb1488d8b90382a392934097ddb2f94cc6df04 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12027/7ceb1488d8b90382a392934097ddb2f94cc6df04/webalert.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3073, 67, 1098, 67, 11798, 87, 261, 1911, 4672, 468, 444, 3152, 596, 273, 1408, 612, 67, 1355, 273, 4555, 468, 11329, 225, 468, 1692, 358, 326, 315, 1289, 394, 6881, 6, 646, 596, 1011,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3073, 67, 1098, 67, 11798, 87, 261, 1911, 4672, 468, 444, 3152, 596, 273, 1408, 612, 67, 1355, 273, 4555, 468, 11329, 225, 468, 1692, 358, 326, 315, 1289, 394, 6881, 6, 646, 596, 1011,...
peer_db.updatePeerIPPort(hispermid, "127.0.0.1", 5678)
peer_db.addPeer(hispermid,{'ip':"127.0.0.1", 'port':5678})
def singtest_send_opened(self): print >> sys.stderr,"test: test_send_opened" self.wanted = True self.wanted2 = True peer_db = PeerDBHandler.getInstance() hispermid = self.peer2.my_permid peer_db.updatePeerIPPort(hispermid, "127.0.0.1", 5678) msg = GET_METADATA+'12345678901234567890' self.peer1.secure_overlay.connect(hi...
ea5b6bdfe334b3d2bb4810326934e4bb0038ba4f /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/9686/ea5b6bdfe334b3d2bb4810326934e4bb0038ba4f/test_secure_overlay.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4864, 3813, 67, 4661, 67, 25304, 12, 2890, 4672, 1172, 1671, 2589, 18, 11241, 10837, 3813, 30, 1842, 67, 4661, 67, 25304, 6, 365, 18, 25861, 273, 1053, 365, 18, 25861, 22, 273, 1053, 4...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4864, 3813, 67, 4661, 67, 25304, 12, 2890, 4672, 1172, 1671, 2589, 18, 11241, 10837, 3813, 30, 1842, 67, 4661, 67, 25304, 6, 365, 18, 25861, 273, 1053, 365, 18, 25861, 22, 273, 1053, 4...
return self._executeSingleFileCatalogFunction(lfn,'isLink',catalogs=catalogs) else: return self._executeFileCatalogFunction(lfn,'isLink',catalogs=catalogs) def getCatalogReadLink(self,lfn,singleFile=False,catalogs=[]):
return self._executeSingleFileCatalogFunction( lfn, 'isLink', catalogs=catalogs ) else: return self._executeFileCatalogFunction( lfn, 'isLink', catalogs=catalogs ) def getCatalogReadLink( self, lfn, singleFile=False, catalogs=[] ):
def getCatalogIsLink(self,lfn,singleFile=False,catalogs=[]): """ Determine whether the path is registered as a link in the FileCatalog 'lfn' is the paths to check (can be a single path or list of paths) """ if singleFile: return self._executeSingleFileCatalogFunction(lfn,'isLink',catalogs=catalogs) else: return self._...
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, 1927, 4392, 2520, 2098, 12, 2890, 16, 80, 4293, 16, 7526, 812, 33, 8381, 16, 2574, 287, 14072, 33, 8526, 4672, 3536, 10229, 2856, 326, 589, 353, 4104, 487, 279, 1692, 316, 326, 1387, 9...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1927, 4392, 2520, 2098, 12, 2890, 16, 80, 4293, 16, 7526, 812, 33, 8381, 16, 2574, 287, 14072, 33, 8526, 4672, 3536, 10229, 2856, 326, 589, 353, 4104, 487, 279, 1692, 316, 326, 1387, 9...
self.logging.info('No credential delegated to myproxy server %s will do now'%self.myproxyServer)
self.logging.info('No credential delegated to myproxy server %s .'%self.myproxyServer)
def checkMyProxy( self , proxy=None, Time=4, checkRetrieverRenewer=False): """ """ if proxy == None: proxy=self.getUserProxy() ## check the myproxy server valid = True
7f79a39c711ac7638d40d48c8cf2f82c738e6a89 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/8886/7f79a39c711ac7638d40d48c8cf2f82c738e6a89/Proxy.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 866, 12062, 3886, 12, 365, 269, 2889, 33, 7036, 16, 2647, 33, 24, 16, 866, 30801, 24058, 264, 33, 8381, 4672, 3536, 3536, 309, 2889, 422, 599, 30, 2889, 33, 2890, 18, 588, 1299, 3886, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 866, 12062, 3886, 12, 365, 269, 2889, 33, 7036, 16, 2647, 33, 24, 16, 866, 30801, 24058, 264, 33, 8381, 4672, 3536, 3536, 309, 2889, 422, 599, 30, 2889, 33, 2890, 18, 588, 1299, 3886, ...
this = apply(_quickfix.new_NoUndlyInstrumentPartySubIDs, args)
this = _quickfix.new_NoUndlyInstrumentPartySubIDs(*args)
def __init__(self, *args): this = apply(_quickfix.new_NoUndlyInstrumentPartySubIDs, 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, 2279, 984, 72, 715, 19228, 17619, 1676, 5103, 30857, 1968, 13, 775, 30, 365, 18, 2211, 18, 6923...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 380, 1968, 4672, 333, 273, 389, 19525, 904, 18, 2704, 67, 2279, 984, 72, 715, 19228, 17619, 1676, 5103, 30857, 1968, 13, 775, 30, 365, 18, 2211, 18, 6923...
sage: latex.pdflatex(False)
sage: latex.pdflatex(False) doctest:...: DeprecationWarning: Use engine("latex") instead.
def pdflatex(self, t = None): """ Controls whether Sage uses PDFLaTeX or LaTeX when typesetting with :func:`view`, in ``%latex`` cells, etc. INPUT: - ``t`` -- boolean or None
f861246ed3920cddfa7558f769e8b83392788530 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/9890/f861246ed3920cddfa7558f769e8b83392788530/latex.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 8169, 26264, 12, 2890, 16, 268, 273, 599, 4672, 3536, 8888, 87, 2856, 348, 410, 4692, 12667, 30745, 21575, 60, 578, 21072, 21575, 60, 1347, 1953, 278, 1787, 598, 294, 644, 28288, 1945, 9...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 8169, 26264, 12, 2890, 16, 268, 273, 599, 4672, 3536, 8888, 87, 2856, 348, 410, 4692, 12667, 30745, 21575, 60, 578, 21072, 21575, 60, 1347, 1953, 278, 1787, 598, 294, 644, 28288, 1945, 9...
if not linkDict.has_key(link[0]): linkDict[link[0]] = {}
if not linkDict.has_key(toUTF8Bytes(link[0],charset)): linkDict[toUTF8Bytes(link[0])] = {}
def scrapeHTMLLinks(self,html, baseurl,setTitle=False): #print "Scraping "+baseurl+" as HTML"
9091b151a704f1bb13ddb8a8e97178c1c70e7758 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12354/9091b151a704f1bb13ddb8a8e97178c1c70e7758/feed.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 888, 25360, 4870, 7100, 12, 2890, 16, 2620, 16, 25427, 16, 542, 4247, 33, 8381, 4672, 468, 1188, 315, 1541, 1266, 310, 13773, 1969, 718, 9078, 487, 3982, 6, 2, 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, 0, 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, 888, 25360, 4870, 7100, 12, 2890, 16, 2620, 16, 25427, 16, 542, 4247, 33, 8381, 4672, 468, 1188, 315, 1541, 1266, 310, 13773, 1969, 718, 9078, 487, 3982, 6, 2, -100, -100, -100, -100, ...
self.x = self.data.x self.y = self.data.y self.z = self.data.z
self.x = self.data['x'] self.y = self.data['y'] self.z = self.data['z']
def __init__(self, input): """Takes either a filename or a numpy array"""
6f9825ea37bea9bb989e7d9e97be1c94db41c421 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/10472/6f9825ea37bea9bb989e7d9e97be1c94db41c421/horizon.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 810, 4672, 3536, 11524, 3344, 279, 1544, 578, 279, 3972, 526, 8395, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 810, 4672, 3536, 11524, 3344, 279, 1544, 578, 279, 3972, 526, 8395, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
helper.formattime(playbackinfo.song.length))
helper.formattime(song_metadata.length))
def usage(): print "pytonectl %s" % version.version print "Copyright (C) 2003, 2004 Jrg Lehmann <joerg@luga.de>" print "usage: pytonectl.py [options] command" print print "Possible options are:" print " -h, --help: show this help" print " -s, --server <hostname>: connect to PyTone server on hostname" p...
dc5fffabbbb179af1131231ab95ffa2a6aeaf06a /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/348/dc5fffabbbb179af1131231ab95ffa2a6aeaf06a/pytonectl.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4084, 13332, 1172, 315, 2074, 1917, 386, 80, 738, 87, 6, 738, 1177, 18, 1589, 1172, 315, 2951, 4083, 261, 39, 13, 4044, 23, 16, 4044, 24, 804, 26876, 3519, 76, 81, 1072, 411, 30952, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4084, 13332, 1172, 315, 2074, 1917, 386, 80, 738, 87, 6, 738, 1177, 18, 1589, 1172, 315, 2951, 4083, 261, 39, 13, 4044, 23, 16, 4044, 24, 804, 26876, 3519, 76, 81, 1072, 411, 30952, ...
params = ["--verbose=1"]
def getVlcMediaCtrl(self): if sys.platform == 'win32': cwd = os.getcwd() os.chdir(vlcinstalldir)
ac2b22cc498a4d556cd1e97f5642977b5063772a /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/9686/ac2b22cc498a4d556cd1e97f5642977b5063772a/EmbeddedPlayer.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 11031, 17704, 5419, 12418, 12, 2890, 4672, 309, 2589, 18, 9898, 422, 296, 8082, 1578, 4278, 7239, 273, 1140, 18, 588, 11089, 1435, 1140, 18, 343, 1214, 12, 27362, 5425, 1214, 13, 2, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 11031, 17704, 5419, 12418, 12, 2890, 4672, 309, 2589, 18, 9898, 422, 296, 8082, 1578, 4278, 7239, 273, 1140, 18, 588, 11089, 1435, 1140, 18, 343, 1214, 12, 27362, 5425, 1214, 13, 2, -100...
po_revision_date = time.strftime("%F %H:%M") + tzstring()
po_revision_date = time.strftime("%Y-%m-%d %H:%M") + tzstring()
def updateunit(self, item, newvalues, userprefs, languageprefs): """updates a translation with a new target value""" self.pofreshen() unit = self.transunits[item]
3ba88adac592d876fd1fa67f19d25320ab0beec2 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/11388/3ba88adac592d876fd1fa67f19d25320ab0beec2/pootlefile.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1089, 4873, 12, 2890, 16, 761, 16, 394, 2372, 16, 729, 1484, 2556, 16, 2653, 1484, 2556, 4672, 3536, 14703, 279, 4794, 598, 279, 394, 1018, 460, 8395, 365, 18, 84, 792, 1955, 275, 1435...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1089, 4873, 12, 2890, 16, 761, 16, 394, 2372, 16, 729, 1484, 2556, 16, 2653, 1484, 2556, 4672, 3536, 14703, 279, 4794, 598, 279, 394, 1018, 460, 8395, 365, 18, 84, 792, 1955, 275, 1435...
return
return if dns_request.dns_peer != peer: self.log ( 'impersonate ip="%s" port="%d"' % peer, 'fraud' ) return
def handle_read (self): # match the datagram's UID with the pending DNS requests # datagram, peer = self.recvfrom () uid = (ord (datagram[0]) << 8) + ord (datagram[1]) dns_request = self.dns_pending.pop (uid) if dns_request == None or dns_request.dns_peer != peer: assert None == self.log ( 'noise ip="%s" port="%d"' % p...
9c46df086cb03daabac9a6e7af639b1e9f43b4f5 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2577/9c46df086cb03daabac9a6e7af639b1e9f43b4f5/dns_client.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1640, 67, 896, 261, 2890, 4672, 468, 845, 326, 1150, 17049, 1807, 10034, 598, 326, 4634, 8858, 3285, 468, 1150, 17049, 16, 4261, 273, 365, 18, 18334, 2080, 1832, 4555, 273, 261, 517, 261...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1640, 67, 896, 261, 2890, 4672, 468, 845, 326, 1150, 17049, 1807, 10034, 598, 326, 4634, 8858, 3285, 468, 1150, 17049, 16, 4261, 273, 365, 18, 18334, 2080, 1832, 4555, 273, 261, 517, 261...
def __init__(self, entryFactory=None, readingFormatFactory=None, translationFormatFactory=None, databaseUrl=None, dbConnectInst=None):
PROVIDES = None """Name of dictionary that is provided by this class.""" def __init__(self, entryFactory=None, readingFormatStrategy=None, translationFormatStrategy=None, translationSearchStrategy=None, databaseUrl=None, dbConnectInst=None):
def __init__(self, entryFactory=None, readingFormatFactory=None, translationFormatFactory=None, databaseUrl=None, dbConnectInst=None): """ Initialises the BaseDictionary instance.
4c727813531c7579b99ed686160ec93ff63a4db2 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/11128/4c727813531c7579b99ed686160ec93ff63a4db2/dictionary.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 4629, 15472, 3991, 273, 599, 3536, 461, 434, 3880, 716, 353, 2112, 635, 333, 667, 12123, 225, 1652, 1001, 2738, 972, 12, 2890, 16, 1241, 1733, 33, 7036, 16, 6453, 1630, 4525, 33, 7036, 16, 4...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 4629, 15472, 3991, 273, 599, 3536, 461, 434, 3880, 716, 353, 2112, 635, 333, 667, 12123, 225, 1652, 1001, 2738, 972, 12, 2890, 16, 1241, 1733, 33, 7036, 16, 6453, 1630, 4525, 33, 7036, 16, 4...
def mkrelative(self,dir,subfile): '''Return the relative path for 'subfile' underneath 'dir'.''' if subfile.startswith(dir): return subfile.replace(dir+os.path.sep,'')
def mkrelative(self,subfile): '''Return the relative path for 'subfile' underneath 'self.destdir'.''' if subfile.startswith(self.destdir): return subfile.replace(self.destdir+os.path.sep,'')
def mkrelative(self,dir,subfile): '''Return the relative path for 'subfile' underneath 'dir'.''' if subfile.startswith(dir): return subfile.replace(dir+os.path.sep,'')
8bb0495b634407cc85cacc920c1c45873db6ed6e /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/8489/8bb0495b634407cc85cacc920c1c45873db6ed6e/pungi.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 5028, 11626, 12, 2890, 16, 1214, 16, 1717, 768, 4672, 9163, 990, 326, 3632, 589, 364, 296, 1717, 768, 11, 3613, 4644, 421, 296, 1214, 11, 1093, 6309, 309, 720, 768, 18, 17514, 1918, 12...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 5028, 11626, 12, 2890, 16, 1214, 16, 1717, 768, 4672, 9163, 990, 326, 3632, 589, 364, 296, 1717, 768, 11, 3613, 4644, 421, 296, 1214, 11, 1093, 6309, 309, 720, 768, 18, 17514, 1918, 12...
p._setElementReference(elt_ns.elements()[elt_ln])
p._setElementReference(elt_ns.elementDeclarations()[elt_ln])
def __finalizeReferences (self): tns = self.namespaceContext().targetNamespace() for m in tns.messages().values(): for p in m.part(): if (p.element() is not None) and (p.elementReference() is None): elt_qname = p._namespaceContext().interpretQName(p.element()) assert elt_qname is not None (elt_ns, elt_ln) = elt_qname p...
4f139112350c7665cba8fda1d557bb8aabece757 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/7171/4f139112350c7665cba8fda1d557bb8aabece757/wsdl.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 30343, 8221, 261, 2890, 4672, 268, 2387, 273, 365, 18, 4937, 1042, 7675, 3299, 3402, 1435, 364, 312, 316, 268, 2387, 18, 6833, 7675, 2372, 13332, 364, 293, 316, 312, 18, 2680, 1333...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 30343, 8221, 261, 2890, 4672, 268, 2387, 273, 365, 18, 4937, 1042, 7675, 3299, 3402, 1435, 364, 312, 316, 268, 2387, 18, 6833, 7675, 2372, 13332, 364, 293, 316, 312, 18, 2680, 1333...
for i in range(numtasks): newtask()
def newtask(): global next_ident, running mutex.acquire() next_ident = next_ident + 1 if verbose: print 'creating task', next_ident thread.start_new_thread(task, (next_ident,)) running = running + 1 mutex.release()
2e81a08051b03bbe197fc96e1cbd1035123713e2 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/3187/2e81a08051b03bbe197fc96e1cbd1035123713e2/test_thread.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 394, 4146, 13332, 2552, 1024, 67, 6392, 16, 3549, 9020, 18, 1077, 1039, 1435, 1024, 67, 6392, 273, 1024, 67, 6392, 397, 404, 309, 3988, 30, 1172, 296, 23799, 1562, 2187, 1024, 67, 6392, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 394, 4146, 13332, 2552, 1024, 67, 6392, 16, 3549, 9020, 18, 1077, 1039, 1435, 1024, 67, 6392, 273, 1024, 67, 6392, 397, 404, 309, 3988, 30, 1172, 296, 23799, 1562, 2187, 1024, 67, 6392, ...
print "server received", line
print "server received from %s"% self.transport.getPeer().host, line
def lineReceived(self, line): """Override this for when each line is received.""" print "server received", line # donwnload file if line.startswith(ASK_DOWNLOAD_FILES): file_name = line[len(ASK_DOWNLOAD_FILES)+1:].strip() file_desc = self.factory.manager.facade.\ get_file_container(file_name) # check shared if file_des...
cf33b4c91ed5d02ad93ec4dad579b5289aa82e45 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2522/cf33b4c91ed5d02ad93ec4dad579b5289aa82e45/network.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 980, 8872, 12, 2890, 16, 980, 4672, 3536, 6618, 333, 364, 1347, 1517, 980, 353, 5079, 12123, 1172, 315, 3567, 5079, 628, 738, 87, 28385, 365, 18, 13049, 18, 588, 6813, 7675, 2564, 16, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 980, 8872, 12, 2890, 16, 980, 4672, 3536, 6618, 333, 364, 1347, 1517, 980, 353, 5079, 12123, 1172, 315, 3567, 5079, 628, 738, 87, 28385, 365, 18, 13049, 18, 588, 6813, 7675, 2564, 16, ...
p2 = re.sub(r'(\w)[^a-zA-Z0-9](\w)', "\\1 \\2", p2)
p2n = re.sub(r'(\w)[^a-zA-Z0-9\s\:](\w)', "\\1 \\2", p2)
def perform_request_search(req=None, cc=cdsname, c=None, p="", f="", rg="10", sf="", so="d", sp="", of="hb", ot="", as="0", p1="", f1="", m1="", op1="", p2="", f2="", m2="", op2="", p3="", f3="", m3="", sc="0", jrec="0", id="-1", idb="-1", sysnb="", search="SEARCH", d1y="", d1m="", d1d="", d2y="", d2m="", d2d=""): """P...
0f644a3e9a21fa49065fbfbec95493378ff259fb /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2139/0f644a3e9a21fa49065fbfbec95493378ff259fb/search_engine.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3073, 67, 2293, 67, 3072, 12, 3658, 33, 7036, 16, 4946, 33, 71, 2377, 529, 16, 276, 33, 7036, 16, 293, 1546, 3113, 284, 1546, 3113, 14524, 1546, 2163, 3113, 9033, 1546, 3113, 1427, 154...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3073, 67, 2293, 67, 3072, 12, 3658, 33, 7036, 16, 4946, 33, 71, 2377, 529, 16, 276, 33, 7036, 16, 293, 1546, 3113, 284, 1546, 3113, 14524, 1546, 2163, 3113, 9033, 1546, 3113, 1427, 154...
except KeyboardInterrupt: raise except:
except Exception:
def run(self, result=None): if result is None: result = self.defaultTestResult() result.startTest(self) testMethod = getattr(self, self._testMethodName) try: try: self.setUp() except KeyboardInterrupt: raise except: result.addError(self, self._exc_info()) return
f64c3e352b01b2c5c40815e4240b2d73462e2ba7 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/12029/f64c3e352b01b2c5c40815e4240b2d73462e2ba7/unittest.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1086, 12, 2890, 16, 563, 33, 7036, 4672, 309, 563, 353, 599, 30, 563, 273, 365, 18, 1886, 4709, 1253, 1435, 563, 18, 1937, 4709, 12, 2890, 13, 1842, 1305, 273, 3869, 12, 2890, 16, 36...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1086, 12, 2890, 16, 563, 33, 7036, 4672, 309, 563, 353, 599, 30, 563, 273, 365, 18, 1886, 4709, 1253, 1435, 563, 18, 1937, 4709, 12, 2890, 13, 1842, 1305, 273, 3869, 12, 2890, 16, 36...
test_support.run_unittest( TrivialTests, OpenerDirectorTests, HandlerTests, MiscTests, )
tests = (TrivialTests, OpenerDirectorTests, HandlerTests, MiscTests) if test_support.is_resource_enabled('network'): tests += (NetworkTests,) test_support.run_unittest(*tests)
def test_main(verbose=None): from test import test_sets test_support.run_unittest( TrivialTests, OpenerDirectorTests, HandlerTests, MiscTests, )
f382641cde6bcec1bb6609f9b7af911db57f9a3e /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8125/f382641cde6bcec1bb6609f9b7af911db57f9a3e/test_urllib2.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 67, 5254, 12, 11369, 33, 7036, 4672, 628, 1842, 1930, 1842, 67, 4424, 7434, 273, 261, 1070, 20109, 14650, 16, 6066, 708, 28280, 14650, 16, 4663, 14650, 16, 16584, 71, 14650, 13, 30...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5254, 12, 11369, 33, 7036, 4672, 628, 1842, 1930, 1842, 67, 4424, 7434, 273, 261, 1070, 20109, 14650, 16, 6066, 708, 28280, 14650, 16, 4663, 14650, 16, 16584, 71, 14650, 13, 30...
def _write_var_summary(self, public, private, variables, container, groups, heading='Variable Summary'): """ @return: The HTML code for a variable summary table. This is used by L{_module_to_html} to list the variables in a module; and by L{_class_to_html} to list instance variables and class variables. @rtype: C{stri...
def _write_var_summary(self, public, private, container, variables, heading='Variable Summary'): """ Write HTML code for a variable summary table. This is used by L{_write_module} to list the variables in a module; and by L{_write_class} to list the instance and class variables in a class. @param public: The output st...
def _write_var_summary(self, public, private, variables, container, groups, heading='Variable Summary'): """ @return: The HTML code for a variable summary table. This is used by L{_module_to_html} to list the variables in a module; and by L{_class_to_html} to list instance variables and class variables. @rtype: C{stri...
b57986399a2595e7095d7d67227b7bcda199a18b /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/11420/b57986399a2595e7095d7d67227b7bcda199a18b/html.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 2626, 67, 1401, 67, 7687, 12, 2890, 16, 1071, 16, 3238, 16, 1478, 16, 3152, 16, 11053, 2218, 3092, 17967, 11, 4672, 3536, 2598, 3982, 981, 364, 279, 2190, 4916, 1014, 18, 225, 122...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2626, 67, 1401, 67, 7687, 12, 2890, 16, 1071, 16, 3238, 16, 1478, 16, 3152, 16, 11053, 2218, 3092, 17967, 11, 4672, 3536, 2598, 3982, 981, 364, 279, 2190, 4916, 1014, 18, 225, 122...
self.doclist.MoveOutOfFolder(moved_entry) moved_entry = self.doclist.Get(moved_entry.GetSelfLink().href)
self.editClient.MoveOutOfFolder(moved_entry) moved_entry = self.client.Get(moved_entry.GetSelfLink().href)
def testMoveDocumentInAndOutOfFolder(self): created_entry = self.doclist.UploadDocument(self.ms, self.doc_title) moved_entry = self.doclist.MoveDocumentIntoFolder(created_entry, self.folder) for category in moved_entry.category: if category.scheme.startswith(gdata.docs.service.FOLDERS_SCHEME_PREFIX): self.assertEqual(c...
6a1d41e0ebd05471e1aa915fdf0a98f4af4bce69 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/5609/6a1d41e0ebd05471e1aa915fdf0a98f4af4bce69/service_test.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 7607, 2519, 382, 1876, 11224, 3899, 12, 2890, 4672, 2522, 67, 4099, 273, 365, 18, 2434, 1098, 18, 4777, 2519, 12, 2890, 18, 959, 16, 365, 18, 2434, 67, 2649, 13, 10456, 67, 4099,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 7607, 2519, 382, 1876, 11224, 3899, 12, 2890, 4672, 2522, 67, 4099, 273, 365, 18, 2434, 1098, 18, 4777, 2519, 12, 2890, 18, 959, 16, 365, 18, 2434, 67, 2649, 13, 10456, 67, 4099,...
no_reference = _(u'label_no_reference', default=u'<no reference>')
no_reference = i18n.translate(domain='archetypes', msgid='label_no_reference', context=content_instance, default='<no reference>')
def _Vocabulary(self, content_instance): pairs = [] pc = getToolByName(content_instance, 'portal_catalog') uc = getToolByName(content_instance, config.UID_CATALOG) purl = getToolByName(content_instance, 'portal_url')
4783b5b4c58776802d846f70518c6480cf67411e /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12165/4783b5b4c58776802d846f70518c6480cf67411e/Field.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 30747, 12, 2890, 16, 913, 67, 1336, 4672, 5574, 273, 5378, 6125, 273, 336, 6364, 5911, 12, 1745, 67, 1336, 16, 296, 24386, 67, 7199, 6134, 6232, 273, 336, 6364, 5911, 12, 1745, 67...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 30747, 12, 2890, 16, 913, 67, 1336, 4672, 5574, 273, 5378, 6125, 273, 336, 6364, 5911, 12, 1745, 67, 1336, 16, 296, 24386, 67, 7199, 6134, 6232, 273, 336, 6364, 5911, 12, 1745, 67...