fix: dev: Fix wrong __enter__ and __exit__ implementation on generator.
fix: dev: Fix wrong __enter__ and __exit__ implementation on generator.

carlos-jenkins/ops-topology-lib-vtysh,open-switch/ops-topology-lib-vtysh