summaryrefslogtreecommitdiff
path: root/python/clidef.py
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2017-10-27 10:00:57 -0400
committerGitHub <noreply@github.com>2017-10-27 10:00:57 -0400
commite2e7a81d586678f8801629c0c9b06a1a5fb146b7 (patch)
tree0495de3cf36c660759b52f2ed7e219d3b9032fef /python/clidef.py
parent6d774763d6698bf36b98e2ff26c1f27a492b8cb3 (diff)
parent5ce91022c1eecb07273b6e30a1df7c55ece4894d (diff)
Merge pull request #1174 from opensourcerouting/show_route_defpy
Refactor the 'show ip route' commands using DEFPY
Diffstat (limited to 'python/clidef.py')
-rw-r--r--python/clidef.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/python/clidef.py b/python/clidef.py
index 6a69986323..fe01a89162 100644
--- a/python/clidef.py
+++ b/python/clidef.py
@@ -188,8 +188,6 @@ def process_file(fn, ofd, dumpfd, all_defun):
for entry in filedata['data']:
if entry['type'] == 'DEFPY' or (all_defun and entry['type'].startswith('DEFUN')):
cmddef = entry['args'][2]
- for i in cmddef:
- assert i.startswith('"') and i.endswith('"')
cmddef = ''.join([i[1:-1] for i in cmddef])
graph = clippy.Graph(cmddef)