aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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.