mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
pylint: Enable and fix no-self-use warnings
This commit is contained in:
+2
-1
@@ -39,6 +39,7 @@ class Rule:
|
||||
self.error('Rule is incorrect.\nModel: ' + str(m))
|
||||
self.solver.pop()
|
||||
|
||||
def error(self, msg):
|
||||
@classmethod
|
||||
def error(cls, msg):
|
||||
print(msg)
|
||||
sys.exit(1)
|
||||
|
||||
Reference in New Issue
Block a user