Skip to content

Commit f39e91e

Browse files
committed
Merge branch 'master' into version/2.x
2 parents 313a22d + 95866dd commit f39e91e

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,5 @@
88
venv_39
99
.idea/
1010
dpath.egg-info/
11-
dist/
11+
dist/
12+
tests/.hypothesis

dpath/util.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
MERGE_ADDITIVE = (1 << 2)
1010
MERGE_TYPESAFE = (1 << 3)
1111

12+
1213
def __safe_path__(path, separator):
1314
'''
1415
Given a path and separator, return a tuple of segments. If path is
@@ -171,7 +172,7 @@ def f(obj, pair, results):
171172
results = dpath.segments.fold(obj, f, [])
172173

173174
if len(results) == 0:
174-
if default is not _DEFAULT_SENTINAL:
175+
if default is not _DEFAULT_SENTINAL:
175176
return default
176177

177178
raise KeyError(glob)

0 commit comments

Comments
 (0)