~ubuntu-branches/ubuntu/quantal/pylint/quantal

« back to all changes in this revision

Viewing changes to reporters/html.py

  • Committer: Bazaar Package Importer
  • Author(s): Sandro Tosi
  • Date: 2011-08-02 20:05:50 UTC
  • mfrom: (7.2.2 sid)
  • Revision ID: james.westby@ubuntu.com-20110802200550-5efk0cfszfzjpjdn
Tags: 0.24.0-1
* New upstream release
* debian/copyright
  - bump upstream and packaging copyright years
* debian/rules
  - add build-arch build-indep targets, as suggested by lintian
* debian/control
  - bump Standards-Version to 3.9.2 (no changes needed)

Show diffs side-by-side

added added

removed removed

Lines of Context:
35
35
 
36
36
    def add_message(self, msg_id, location, msg):
37
37
        """manage message of different type and in the context of path"""
38
 
        module, obj, line = location[1:]
 
38
        module, obj, line, col_offset = location[1:]
39
39
        if self.include_ids:
40
40
            sigle = msg_id
41
41
        else:
59
59
        """
60
60
        if self.msgs:
61
61
            # add stored messages to the layout
62
 
            msgs = ['type', 'module', 'object', 'line', 'message']
 
62
            msgs = ['type', 'module', 'object', 'line', 'col_offset', 'message']
63
63
            msgs += self.msgs
64
64
            sect = Section('Messages')
65
65
            layout.append(sect)