Skip to content

Commit

Permalink
Fix format
Browse files Browse the repository at this point in the history
  • Loading branch information
xincunli-sonic committed Oct 11, 2024
1 parent f5910fc commit 26ee2a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion generic_config_updater/generic_updater.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def extract_scope(path):
if not path:
raise Exception("Wrong patch with empty path.")
pointer = jsonpointer.JsonPointer(path)

# Re-escapes `/` in path parts by converting `/` back to `~1`.
parts = [part.replace("/", "~1") for part in pointer.parts]
if not parts:
Expand Down

0 comments on commit 26ee2a4

Please sign in to comment.