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
commitd7f31a26bddca79be09463dffc83430f7c59f238 (patch)
tree447a38b119e869269fc75b541ea5fa8819e1db4a /utils.py
parent99794fee75f9c9ba3ddf894824e73cafeec42ee0 (diff)
downloadpylint-git-d7f31a26bddca79be09463dffc83430f7c59f238.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 62bd7e6b9..0f7f448fe 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.