summaryrefslogtreecommitdiff
path: root/tests/topotests/lib/bgprib.py
diff options
context:
space:
mode:
authorwhitespace <nobody@nobody>2020-10-07 17:22:26 -0400
committerQuentin Young <qlyoung@nvidia.com>2020-10-07 17:22:26 -0400
commit701a01920eee5431d2052aad92aefbdf50ac2139 (patch)
tree2bf2339327241f59593b9583b060ebb347db1cea /tests/topotests/lib/bgprib.py
parentbd407b54d26981f30a95bc316ea2ed965d070c53 (diff)
*: reformat python files
We are now using black. Signed-off-by: Quentin Young <qlyoung@nvidia.com>
Diffstat (limited to 'tests/topotests/lib/bgprib.py')
-rw-r--r--tests/topotests/lib/bgprib.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/topotests/lib/bgprib.py b/tests/topotests/lib/bgprib.py
index 8629ebd2ca..a23092de83 100644
--- a/tests/topotests/lib/bgprib.py
+++ b/tests/topotests/lib/bgprib.py
@@ -40,9 +40,8 @@ import re
# gpz: get rib in json form and compare against desired routes
class BgpRib:
-
def log(self, str):
- LUtil.log ("BgpRib: "+ str)
+ LUtil.log("BgpRib: " + str)
def routes_include_wanted(self, pfxtbl, want, debug):
# helper function to RequireVpnRoutes
@@ -156,7 +155,7 @@ class BgpRib:
errstr = "-script ERROR: check if vrf missing"
luResult(target, False, title + errstr, logstr)
return
- #if debug:
+ # if debug:
# self.log("table=%s" % table)
for want in wantroutes:
if debug: