# HG changeset patch
# User Sylvain Thénault <sylvain.thenault@logilab.fr>
# Date 1310111512 -7200
# Fri Jul 08 09:51:52 2011 +0200
# Node ID f5b36af6d1672c2b55e16d015f122d7724ca6c4b
# Parent 71243b772f2bd64303eca04050e52bfa34331412
closes #69950: Tests failing due to 'column offset' changes in 744
# User Sylvain Thénault <sylvain.thenault@logilab.fr>
# Date 1310111512 -7200
# Fri Jul 08 09:51:52 2011 +0200
# Node ID f5b36af6d1672c2b55e16d015f122d7724ca6c4b
# Parent 71243b772f2bd64303eca04050e52bfa34331412
closes #69950: Tests failing due to 'column offset' changes in 744
@@ -130,11 +130,11 @@
1 2 def add_message(self, msg_id, location, msg): 3 """manage message of different types, and colorize output 4 using ansi escape codes 5 """ 6 - module, obj, line = location[1:] 7 + module, obj, line, _ = location[1:] 8 if module not in self._modules: 9 color, style = self._get_decoration('S') 10 if module: 11 modsep = colorize_ansi('************* Module %s' % module, 12 color, style)
@@ -151,6 +151,5 @@
13 sigle = msg_id[0] 14 color, style = self._get_decoration(sigle) 15 msg = colorize_ansi(msg, color, style) 16 sigle = colorize_ansi(sigle, color, style) 17 self.writeln('%s:%3s%s: %s' % (sigle, line, obj, msg)) 18 -
@@ -68,11 +68,11 @@
19 self.out = StringIO() 20 self.messages = [] 21 22 def add_message(self, msg_id, location, msg): 23 """manage message of different type and in the context of path """ 24 - fpath, module, object, line = location 25 + fpath, module, object, line, _ = location 26 self.message_ids[msg_id] = 1 27 if object: 28 object = ':%s' % object 29 sigle = msg_id[0] 30 self.messages.append('%s:%3s%s: %s' % (sigle, line, object, msg))