f37a2477721902d17410e75dfcde5df3b49db9ca,code/SecuML/Data/idents_tools.py,,getAllIdents,#Any#,36
Before Change
query = "SELECT Idents.ident "
query += "FROM Idents;"
cursor.execute(query)
return [x[0] for x in cursor.fetchall()]
After Change
query = "SELECT instance_id, ident "
query += "FROM Idents;"
cursor.execute(query)
idents = {}
row = cursor.fetchone()
while row is not None:
idents[str(row[0])] = row[1]
row = cursor.fetchone()
return idents
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances
Project Name: ANSSI-FR/SecuML
Commit Name: f37a2477721902d17410e75dfcde5df3b49db9ca
Time: 2017-08-01
Author: anael.bonneton@ssi.gouv.fr
File Name: code/SecuML/Data/idents_tools.py
Class Name:
Method Name: getAllIdents
Project Name: probcomp/bayeslite
Commit Name: c0669961794c6d17e25d99f49594a42043979c9b
Time: 2017-02-04
Author: fsaad@mit.edu
File Name: tests/test_cgpm.py
Class Name:
Method Name: test_cgpm_no_empty_categories
Project Name: graphbrain/graphbrain
Commit Name: e4378ddc530abc356c8ca4e3e6a317562b104c96
Time: 2011-10-26
Author: telmo@telmomenezes.net
File Name: gb/node.py
Class Name: Node
Method Name: _internal_links