summaryrefslogtreecommitdiff
path: root/utils.py
diff options
context:
space:
mode:
authorClaudiu Popa <cpopa@cloudbasesolutions.com>2014-11-17 19:15:30 +0200
committerClaudiu Popa <cpopa@cloudbasesolutions.com>2014-11-17 19:15:30 +0200
commitd5042c3db7e2489fc442f3ce91ef1d9d5adb53c0 (patch)
tree89286a31d6a87313cd2c6feec9318c2a2b80b9cf /utils.py
parenta1ece4ffc6ed23e685089664a51d97fe1160070f (diff)
downloadpylint-d5042c3db7e2489fc442f3ce91ef1d9d5adb53c0.tar.gz
Remove get_init_args from the Message class and move it as private function in lint.py.
Diffstat (limited to 'utils.py')
-rw-r--r--utils.py10
1 files changed, 0 insertions, 10 deletions
diff --git a/utils.py b/utils.py
index 62bd7e6..0f7f448 100644
--- a/utils.py
+++ b/utils.py
@@ -94,16 +94,6 @@ class Message(_MsgBase):
cls, msg_id, symbol, msg, msg_id[0], MSG_TYPES[msg_id[0]],
confidence, *location)
- def get_init_args(self):
- location = (
- self.abspath,
- self.path,
- self.module,
- self.obj,
- self.line,
- self.column)
- return (self.msg_id, self.symbol, location, self.msg, self.confidence)
-
def format(self, template):
"""Format the message according to the given template.