Browse Source

Added some commentson header function

m.orban 8 years ago
parent
commit
cabfd95b73
3 changed files with 5 additions and 3 deletions
  1. 2
    1
      README.txt
  2. 2
    1
      lodel/leapi/lefactory.py
  3. 1
    1
      lodel/utils/mlstring.py

+ 2
- 1
README.txt View File

@@ -1,8 +1,9 @@
1 1
 Dependencies :
2 2
 	with pip : see requirements.txt
3
-	debian stable : python3 python3-lxml python3-jinja2 python3-werkzeug python3-pymongo doxygen graphviz uwsgi-plugin-python3 mongodb
3
+	debian stable : python3 python3-lxml python3-jinja2 python3-werkzeug python3-pymongo uwsgi-plugin-python3 mongodbd
4 4
 
5 5
 Doxygen documentation generation :
6
+	dependencies: doxypy doxygen graphviz
6 7
 	doxygen
7 8
 
8 9
 Dynamic code generation :

+ 2
- 1
lodel/leapi/lefactory.py View File

@@ -1,7 +1,7 @@
1 1
 #-*- coding: utf-8 -*-
2 2
 
3 3
 import functools
4
-from lodel.editorial_model.components import *
4
+#from lodel.editorial_model.components import *
5 5
 from lodel.leapi.leobject import LeObject
6 6
 from lodel.leapi.datahandlers.base_classes import DataHandler
7 7
 
@@ -104,6 +104,7 @@ def forge_optval(optval):
104 104
 ##@brief Generate dyncode from an EmClass
105 105
 # @param model EditorialModel : 
106 106
 # @param emclass EmClass : EmClass instance
107
+# @todo delete imports. It is never use, consequently changed return parameters.
107 108
 # @return a tuple with emclass python code, a set containing modules name to import, and a list of python instruction to bootstrap dynamic code, in this order
108 109
 def generate_classes(model):
109 110
     res = ""

+ 1
- 1
lodel/utils/mlstring.py View File

@@ -18,7 +18,7 @@ class MlString(object):
18 18
     ]
19 19
 
20 20
     ##@brief Create a new MlString instance
21
-    # @param arg str | dict : Can be a json string, a string or a dict
21
+    # @param arg str | dict : Can be a json string, a string or a dict. It could be also a MlString object
22 22
     def __init__(self, arg):
23 23
         self.values = dict()
24 24
         if isinstance(arg, str):

Loading…
Cancel
Save