Fix minor warning about Exception.message being deprecated.
This commit is contained in:
@@ -28,7 +28,8 @@ class SpackError(Exception):
|
||||
Subclasses can be found in the modules they have to do with.
|
||||
"""
|
||||
def __init__(self, message, long_message=None):
|
||||
super(SpackError, self).__init__(message)
|
||||
super(SpackError, self).__init__()
|
||||
self.message = message
|
||||
self.long_message = long_message
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user