From 0cfb70212d219e8729b7fddb94f393f469665ecd Mon Sep 17 00:00:00 2001
From: Josh Morman <jmorman@gnuradio.org>
Date: Wed, 24 Nov 2021 12:50:06 -0500
Subject: docs: pep8 formatting

Signed-off-by: Josh Morman <jmorman@gnuradio.org>
---
 docs/doxygen/doxyxml/text.py | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

(limited to 'docs/doxygen/doxyxml/text.py')

diff --git a/docs/doxygen/doxyxml/text.py b/docs/doxygen/doxyxml/text.py
index dc3d390a7d..36d678e5c1 100644
--- a/docs/doxygen/doxyxml/text.py
+++ b/docs/doxygen/doxyxml/text.py
@@ -10,6 +10,7 @@
 Utilities for extracting text from generated classes.
 """
 
+
 def is_string(txt):
     if isinstance(txt, str):
         return True
@@ -20,11 +21,13 @@ def is_string(txt):
         pass
     return False
 
+
 def description(obj):
     if obj is None:
         return None
     return description_bit(obj).strip()
 
+
 def description_bit(obj):
     if hasattr(obj, 'content'):
         contents = [description_bit(item) for item in obj.content]
@@ -37,7 +40,8 @@ def description_bit(obj):
     elif is_string(obj):
         return obj
     else:
-        raise Exception('Expecting a string or something with content, content_ or value attribute')
+        raise Exception(
+            'Expecting a string or something with content, content_ or value attribute')
     # If this bit is a paragraph then add one some line breaks.
     if hasattr(obj, 'name') and obj.name == 'para':
         result += "\n\n"
-- 
cgit v1.2.3