Skip to content

Address RRClient warning from minigraph.py while parsing minigraph.xml #1007

@nikos-github

Description

@nikos-github

root# sonic-cfggen -m minigraph.xml
/usr/local/lib/python2.7/dist-packages/minigraph.py:279: FutureWarning: The behavior of this method will change in future versions. Use specific 'len(elem)' or 'elem is not None' test instead.
if router.find(str(QName(ns1, "RRClient"))):

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions