[Pydev-cvs] org.python.pydev/PySrc/ThirdParty/logilab/pylint/reporters html.py,1.2,1.3 text.py,1.2,1
Brought to you by:
fabioz
From: Fabio Z. <fa...@us...> - 2005-01-21 17:42:33
|
Update of /cvsroot/pydev/org.python.pydev/PySrc/ThirdParty/logilab/pylint/reporters In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6782/PySrc/ThirdParty/logilab/pylint/reporters Modified Files: html.py text.py __init__.py Log Message: pylint updated to 0.6 Index: html.py =================================================================== RCS file: /cvsroot/pydev/org.python.pydev/PySrc/ThirdParty/logilab/pylint/reporters/html.py,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** html.py 26 Oct 2004 14:18:37 -0000 1.2 --- html.py 21 Jan 2005 17:42:10 -0000 1.3 *************** *** 41,45 **** def add_message(self, msg_id, location, msg): """manage message of different type and in the context of path""" ! path, module, obj, line = location if type == 'info': # print informal messages on stderr --- 41,45 ---- def add_message(self, msg_id, location, msg): """manage message of different type and in the context of path""" ! module, obj, line = location[1:] if type == 'info': # print informal messages on stderr Index: __init__.py =================================================================== RCS file: /cvsroot/pydev/org.python.pydev/PySrc/ThirdParty/logilab/pylint/reporters/__init__.py,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** __init__.py 26 Oct 2004 14:18:37 -0000 1.2 --- __init__.py 21 Jan 2005 17:42:10 -0000 1.3 *************** *** 54,61 **** """write a line in the output buffer""" print >> self.out, string - - def write(self, string=''): - """write a line in the output buffer""" - print >> self.out, string, def display_results(self, layout): --- 54,57 ---- Index: text.py =================================================================== RCS file: /cvsroot/pydev/org.python.pydev/PySrc/ThirdParty/logilab/pylint/reporters/text.py,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** text.py 26 Oct 2004 14:18:37 -0000 1.2 --- text.py 21 Jan 2005 17:42:10 -0000 1.3 *************** *** 49,53 **** def add_message(self, msg_id, location, msg): """manage message of different type and in the context of path""" ! path, module, obj, line = location if not self._modules.has_key(module): self.writeln('************* Module %s' % module) --- 49,53 ---- def add_message(self, msg_id, location, msg): """manage message of different type and in the context of path""" ! module, obj, line = location[1:] if not self._modules.has_key(module): self.writeln('************* Module %s' % module) *************** *** 76,80 **** def add_message(self, msg_id, location, msg): """manage message of different type and in the context of path""" ! path, module, obj, line = location if obj: obj = ', %s' % obj --- 76,80 ---- def add_message(self, msg_id, location, msg): """manage message of different type and in the context of path""" ! path, _, obj, line = location if obj: obj = ', %s' % obj *************** *** 123,127 **** using ansi escape codes """ ! path, module, obj, line = location if not self._modules.has_key(module): color, style = self._get_decoration('S') --- 123,127 ---- using ansi escape codes """ ! module, obj, line = location[1:] if not self._modules.has_key(module): color, style = self._get_decoration('S') |