Skip to content

Commit 8600a54

Browse files
committed
Only split top module
1 parent 34b5441 commit 8600a54

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/cisco_gnmi/xr.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -338,6 +338,5 @@ def parse_xpath_to_gnmi_path(self, xpath, origin=None):
338338
origin = None
339339
else:
340340
# module name
341-
origin, xpath = xpath.split(":")
342-
341+
origin, xpath = xpath.split(":", 1)
343342
return super(XRClient, self).parse_xpath_to_gnmi_path(xpath, origin)

0 commit comments

Comments
 (0)