Skip to content

Commit

Permalink
[sonic_yang_ext.py]: Minor changes for Python3 build.
Browse files Browse the repository at this point in the history
Signed-off-by: Praveen Chaudhary<[email protected]>
  • Loading branch information
Praveen Chaudhary committed Nov 12, 2020
1 parent 9281269 commit 7cc5a4d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/sonic-yang-mgmt/sonic_yang_ext.py
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,8 @@ def _xlateContainer(self, model, yang, config, table):

## Handle other leaves in container,
leafDict = self._createLeafDict(model)
for vKey in configC.keys():
vKeys = list(configC.keys())
for vKey in vKeys:
#vkey must be a leaf\leaf-list\choice in container
if leafDict.get(vKey):
self.sysLog(syslog.LOG_DEBUG, "xlateContainer vkey {}".format(vKey))
Expand Down

0 comments on commit 7cc5a4d

Please sign in to comment.