Skip to content
Snippets Groups Projects
Commit 3b50909a authored by Henrik tom Wörden's avatar Henrik tom Wörden
Browse files

doc+remove of unnecessary code

parent c2b7f892
No related branches found
No related tags found
2 merge requests!178FIX: #96 Better error output for crawl.py script.,!167Sync Graph
Pipeline #51024 passed with warnings
......@@ -38,6 +38,11 @@ logger = logging.getLogger(__name__)
class TempID(int):
"""A special kind of int for negative temporary IDs.
This allows to identify TempIDs in the presence of String IDs.
A string ID might look like a negative integer.
"""
pass
......@@ -129,8 +134,6 @@ class SyncNode:
for p in self.parents:
ent.add_parent(p)
for p in self.properties:
if p is None:
continue
entval: Any = ent.get_property(p)
if entval is None:
ent.add_property(id=p.id, name=p.name, value=p.value)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment