Update of /cvsroot/pythonreports/PythonReports/PythonReports
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7253
Modified Files:
template.py
Log Message:
style: imports come after version, date and exports;
sweep pylint warnings
Index: template.py
===================================================================
RCS file: /cvsroot/pythonreports/PythonReports/PythonReports/template.py,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** template.py 1 Nov 2006 11:04:20 -0000 1.1
--- template.py 6 Dec 2006 16:57:21 -0000 1.2
***************
*** 1,4 ****
--- 1,6 ----
"""PythonReports Template (PRT) structures"""
"""History:
+ 05-dec-2006 [als] style: imports come after version, date and exports;
+ sweep pylint warnings
20-oct-2006 [als] Barcode X dimension attr renamed to "module"
22-sep-2006 [als] BarCode: X dimension is a number of mills
***************
*** 17,23 ****
04-jul-2006 [als] created
"""
-
- from PythonReports.datatypes import *
-
__version__ = "$Revision$"[11:-2]
__date__ = "$Date$"[7:-2]
--- 19,22 ----
***************
*** 31,34 ****
--- 30,35 ----
]
+ from PythonReports.datatypes import *
+
Parameter = Validator(tag="parameter",
validate=Validator.Unique("parameters"),
***************
*** 261,264 ****
--- 262,267 ----
"""
+ # pylint: disable-msg=W0613
+ # W0613: Unused argument 'tree'
_group = element.find("group")
_detail = element.find("detail")
***************
*** 320,323 ****
--- 323,329 ----
def Report(tree, element, path):
"""Prevalidator for "report" element: initialize template structures"""
+ # pylint: disable-msg=W0613
+ # W0613: Unused arguments 'element', 'path'
+
# these collections may also be initialized by Unique constraints,
# but we want them to be present always, even if there are no
|