Skip to content

Commit

Permalink
schema: fix comment in Import class
Browse files Browse the repository at this point in the history
The cdata type that is actually lysp_import, fix it.

Closes: #102
Signed-off-by: Stefan Gula <[email protected]>
Signed-off-by: Samuel Gauthier <[email protected]>
  • Loading branch information
samuel-gauthier committed Aug 2, 2024
1 parent 3fc55b0 commit fe0b3d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libyang/schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ class Import:

def __init__(self, context: "libyang.Context", cdata, module):
self.context = context
self.cdata = cdata # C type: "struct lysp_revision *"
self.cdata = cdata # C type: "struct lysp_import *"
self.module = module

def name(self) -> str:
Expand Down

0 comments on commit fe0b3d0

Please sign in to comment.