summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElena ``of Valhalla'' Grandi <valhalla@trueelena.org>2021-08-12 09:03:11 +0200
committerElena ``of Valhalla'' Grandi <valhalla@trueelena.org>2021-08-12 09:03:11 +0200
commit535f6c1a01bb6d87561d05b7b02df04db40b425a (patch)
treed69df22d31aa29ba5517d71ecbce6b4e2dced2e3
parent129ed9374e34224c63716b05477abf1a67317683 (diff)
pep8 fixes
-rw-r--r--lesana/command.py1
-rw-r--r--lesana/types.py1
2 files changed, 2 insertions, 0 deletions
diff --git a/lesana/command.py b/lesana/command.py
index 6d2a753..0521234 100644
--- a/lesana/command.py
+++ b/lesana/command.py
@@ -10,6 +10,7 @@ from . import Collection, Entry, TemplatingError
logger = logging.getLogger(__name__)
+
def _get_first_docstring_line(obj):
try:
return obj.__doc__.split('\n')[1].strip()
diff --git a/lesana/types.py b/lesana/types.py
index 37753d1..bfd8612 100644
--- a/lesana/types.py
+++ b/lesana/types.py
@@ -14,6 +14,7 @@ import xapian
logger = logging.getLogger(__name__)
+
class LesanaType:
"""
Base class for lesana field types.