@ -4,12 +4,10 @@ INSTALL
-------
calculate-lib needs the following library version installed, in order to run:
python >= 2.7
python >= 3.9
python-ldap >= 2.0.0
python-ldap >= 3.3.0
pyxml >= 0.8
lxml >= 4.6.3
py-smbpasswd >= 1.0
file >= 4.26
To install calculate-lib , just execute the install script 'setup.py'.
Example:
@ -6051,7 +6051,7 @@ gettext -d cl_template "$*"
"calculate.%s.variables" % self.objVar.defaultModule)
except (ImportError, AttributeError) as e:
#DEBUG
print(e)
# print(e)
return []
if not optFile:
@ -120,4 +120,4 @@ class kernel(TemplateFormat):
return '%s=%s\n' % (key, value)
return "".join([getline(key, value)
for key, value in self.doc.body.items()])
@ -244,7 +244,7 @@ class tableReport():
else:
align = "^"
offset = ""
_print((u"%s{0:%s%d}" % (offset, align, width)).format(txt))
_print(("%s{0:%s%d}" % (offset, align, width)).format(txt))
if i < last_col:
self.line_printer(char)
self.line_printer(char[:-self.colSpan + 1])