annet 0.16.19__py3-none-any.whl → 0.16.20__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of annet might be problematic. Click here for more details.
- annet/annlib/jsontools.py +4 -4
- {annet-0.16.19.dist-info → annet-0.16.20.dist-info}/METADATA +1 -1
- {annet-0.16.19.dist-info → annet-0.16.20.dist-info}/RECORD +8 -8
- {annet-0.16.19.dist-info → annet-0.16.20.dist-info}/AUTHORS +0 -0
- {annet-0.16.19.dist-info → annet-0.16.20.dist-info}/LICENSE +0 -0
- {annet-0.16.19.dist-info → annet-0.16.20.dist-info}/WHEEL +0 -0
- {annet-0.16.19.dist-info → annet-0.16.20.dist-info}/entry_points.txt +0 -0
- {annet-0.16.19.dist-info → annet-0.16.20.dist-info}/top_level.txt +0 -0
annet/annlib/jsontools.py
CHANGED
|
@@ -59,11 +59,11 @@ def _ensure_pointer_exists(doc: Dict[str, Any], pointer: jsonpointer.JsonPointer
|
|
|
59
59
|
parts_except_the_last = pointer.get_parts()[:-1]
|
|
60
60
|
doc_pointer: Dict[str, Any] = doc
|
|
61
61
|
for part in parts_except_the_last:
|
|
62
|
-
if part not in doc_pointer:
|
|
63
|
-
# create an empty object by the pointer part
|
|
64
|
-
doc_pointer[part] = {}
|
|
65
|
-
|
|
66
62
|
if isinstance(doc_pointer, dict):
|
|
63
|
+
if part not in doc_pointer or doc_pointer[part] is None:
|
|
64
|
+
# create an empty object by the pointer part
|
|
65
|
+
doc_pointer[part] = {}
|
|
66
|
+
|
|
67
67
|
# follow the pointer to delve deeper
|
|
68
68
|
doc_pointer = doc_pointer[part]
|
|
69
69
|
else:
|
|
@@ -46,7 +46,7 @@ annet/annlib/command.py,sha256=uuBddMQphtn8P5MO5kzIa8_QrtMns-k05VeKv1bcAuA,1043
|
|
|
46
46
|
annet/annlib/diff.py,sha256=MZ6eQAU3cadQp8KaSE6uAYFtcfMDCIe_eNuVROnYkCk,4496
|
|
47
47
|
annet/annlib/errors.py,sha256=jBcSFzY6Vj-FxR__vqjFm-87AwYQ0xHuAopTirii5AU,287
|
|
48
48
|
annet/annlib/filter_acl.py,sha256=0w1VF6WcONiTYTQh0yWi6_j9rCTc_kMLAUMr0hbdkNU,7203
|
|
49
|
-
annet/annlib/jsontools.py,sha256=
|
|
49
|
+
annet/annlib/jsontools.py,sha256=DVmA6kmKGSCsKrFnag4EMR1WKe39Owlvzpfdo726ufk,5471
|
|
50
50
|
annet/annlib/lib.py,sha256=eJ4hcVuQ6pdYBzLs4YKCHFtq45idOfZCYp92XfF7_QI,15317
|
|
51
51
|
annet/annlib/output.py,sha256=_SjJ6G6bejvnTKqNHw6xeio0FT9oO3OIkLaOC3cEga4,7569
|
|
52
52
|
annet/annlib/patching.py,sha256=2CpAT3T43IUFJR57qTYSwjQ0smg0uHWN43df4n1WArs,19937
|
|
@@ -164,10 +164,10 @@ annet_generators/rpl_example/__init__.py,sha256=z4-gsDv06BBpgTwRohc50VBQYFD26QVu
|
|
|
164
164
|
annet_generators/rpl_example/items.py,sha256=6x7b0wZ7Vjn6yCaJ-aGbpTHm7fyqO77b-LRqzzhEbh4,615
|
|
165
165
|
annet_generators/rpl_example/policy_generator.py,sha256=KFCqn347CIPcnllOHfINYeKgNSr6Wl-bdM5Xj_YKhYM,11183
|
|
166
166
|
annet_generators/rpl_example/route_policy.py,sha256=QjxFjkePHfTo2CpMeRVaDqZXNXLM-gGlE8EocHuOR4Y,1189
|
|
167
|
-
annet-0.16.
|
|
168
|
-
annet-0.16.
|
|
169
|
-
annet-0.16.
|
|
170
|
-
annet-0.16.
|
|
171
|
-
annet-0.16.
|
|
172
|
-
annet-0.16.
|
|
173
|
-
annet-0.16.
|
|
167
|
+
annet-0.16.20.dist-info/AUTHORS,sha256=rh3w5P6gEgqmuC-bw-HB68vBCr-yIBFhVL0PG4hguLs,878
|
|
168
|
+
annet-0.16.20.dist-info/LICENSE,sha256=yPxl7dno02Pw7gAcFPIFONzx_gapwDoPXsIsh6Y7lC0,1079
|
|
169
|
+
annet-0.16.20.dist-info/METADATA,sha256=Pd3UDfkQof5iuNlBbyrZrXmZYHEIuSNJzcimOVLIbRw,728
|
|
170
|
+
annet-0.16.20.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
|
|
171
|
+
annet-0.16.20.dist-info/entry_points.txt,sha256=5lIaDGlGi3l6QQ2ry2jZaqViP5Lvt8AmsegdD0Uznck,192
|
|
172
|
+
annet-0.16.20.dist-info/top_level.txt,sha256=QsoTZBsUtwp_FEcmRwuN8QITBmLOZFqjssRfKilGbP8,23
|
|
173
|
+
annet-0.16.20.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|