Commit 236a0e2e authored by VIGNET Pierre's avatar VIGNET Pierre
Browse files

[lib] XmlVisitor: Please do not reimplement sets in Python...

parent 978ce280
......@@ -281,16 +281,11 @@ class XmlVisitor:
return self.xml
def get_fact_ids(self):
"""Get litterature references
:rtype: <set>
get litterature references
model_fact = []
for i in self.fact_list:
if i in model_fact:
return model_fact
return set(self.fact_list)
class MakeHandler(ContentHandler):
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment