Skip to content

Commit 57b441d

Browse files
committed
Use parse_string instead of parseString.
Deprecated since version 3.0.0.
1 parent 9deb8f8 commit 57b441d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

fiona/_vendor/snuggs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ def processList(lst):
262262

263263
def handleLine(line):
264264
try:
265-
result = expr.parseString(line)
265+
result = expr.parse_string(line)
266266
return processList(result[0])
267267
except ParseException as exc:
268268
text = str(exc)

fiona/fio/features.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ def filter_cmd(ctx, pipeline, use_rs, snuggs_only):
160160

161161
if not pipeline.startswith("("):
162162
test_string = f"({pipeline})"
163-
expr.parseString(test_string)
163+
expr.parse_string(test_string)
164164
except ExpressionError:
165165
# It's a snuggs expression.
166166
log.info("Detected a snuggs expression.")

0 commit comments

Comments
 (0)