aboutsummaryrefslogtreecommitdiffstats
path: root/doxygen/siphon/generate.py
diff options
context:
space:
mode:
authorPaul Vinciguerra <pvinci@vinciconsulting.com>2019-11-01 15:07:32 -0400
committerDave Wallace <dwallacelf@gmail.com>2019-11-05 21:08:27 +0000
commit464e5e0bfebc71c646e5c182535898cc7018236b (patch)
treedb15d3d283afb96b9fa1b84928c2c434bb9bf775 /doxygen/siphon/generate.py
parentea1a65135e01311e31e94b8d0ed0721c9856775d (diff)
docs: fix 'make doxygen' under python3
The 'make doxygen' component has this cool vpp specific customization called siphon. This updates the siphon component so that 'make doxygen' works with python3. Needed-By: https://gerrit.fd.io/r/23159 Type: docs Change-Id: Ie29f1602bf3460b637058acbb0a2f19b128a8824 Signed-off-by: Paul Vinciguerra <pvinci@vinciconsulting.com>
Diffstat (limited to 'doxygen/siphon/generate.py')
-rw-r--r--doxygen/siphon/generate.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/doxygen/siphon/generate.py b/doxygen/siphon/generate.py
index d6b6faf34f7..2ae5a1b6f1b 100644
--- a/doxygen/siphon/generate.py
+++ b/doxygen/siphon/generate.py
@@ -14,12 +14,14 @@
# Generate .siphon source fragments for later processing
+import json
import logging
-import os, sys, re, json
+import os
+import re
"""List of (regexp, siphon_name) tuples for matching the start of C
initializer blocks in source files. Each siphon class registers
- themselves on tihs list."""
+ themselves on this list."""
siphon_patterns = []
class Generate(object):