diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2017-10-27 10:00:57 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-10-27 10:00:57 -0400 |
| commit | e2e7a81d586678f8801629c0c9b06a1a5fb146b7 (patch) | |
| tree | 0495de3cf36c660759b52f2ed7e219d3b9032fef /python/clidef.py | |
| parent | 6d774763d6698bf36b98e2ff26c1f27a492b8cb3 (diff) | |
| parent | 5ce91022c1eecb07273b6e30a1df7c55ece4894d (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.py | 2 |
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) |
