Skip to content

Commit b3182a2

Browse files
committed
NX wrapper use classmethod appropriately
1 parent 938b742 commit b3182a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cisco_gnmi/nx.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -306,4 +306,4 @@ def parse_xpath_to_gnmi_path(cls, xpath, origin=None):
306306
xpath = xpath.split(":", 1)[1]
307307
else:
308308
origin = "openconfig"
309-
return super(NXClient, self).parse_xpath_to_gnmi_path(xpath, origin)
309+
return super(NXClient, cls).parse_xpath_to_gnmi_path(xpath, origin)

0 commit comments

Comments
 (0)