◐ Shell
clean mode source ↗

context: remove debug print by jeremie6wind · Pull Request #166 · CESNET/libyang-python

The sed command with the regex fails to keep the sha1 and remove the
commit title from the 'Fixes' trailer. Then the git command fails to
find the commit. A commit with 'Fixes' can not be validated by the
script.
Fix the regex to extract the sha1.

Signed-off-by: Jeremie Leska <jeremie.leska@6wind.com>
This log was introduced for debug. Remove it.

Fixes: 0a4b09f ("cffi: allows to usage of libyang v4")
Signed-off-by: Jeremie Leska <jeremie.leska@6wind.com>
It is not always possible to get the features from the parsed module.
It is the case for a module obtained from a sysrepo printed context.
Introduce compiled_enabled_features that returns the features from
the compiled object.

Signed-off-by: Jeremie Leska <jeremie.leska@6wind.com>