aboutsummaryrefslogtreecommitdiffstats
path: root/qface/helper/doc.py
diff options
context:
space:
mode:
Diffstat (limited to 'qface/helper/doc.py')
-rw-r--r--qface/helper/doc.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/qface/helper/doc.py b/qface/helper/doc.py
index c999227..0935e67 100644
--- a/qface/helper/doc.py
+++ b/qface/helper/doc.py
@@ -1,6 +1,5 @@
import re
-
translate = None
"""
The translare function used for transalting inline tags. The
@@ -37,6 +36,8 @@ class DocObject:
setattr(self, name, str(value))
elif attr_type is list:
getattr(self, name).append(value)
+ else:
+ print('documentation tag @{0} not supported'.format(name))
@staticmethod
def _translate(name, value):
@@ -78,4 +79,3 @@ def parse_doc(s):
elif tag: # append to previous matched tag
doc.add_tag(tag, line)
return doc
-