mirror of
https://github.com/GNS3/gns3-server.git
synced 2025-06-18 07:18:18 +00:00
Merge remote-tracking branch 'origin/asyncio' into asyncio
This commit is contained in:
@ -24,18 +24,4 @@ from ..vm_error import VMError
|
||||
|
||||
class DynamipsError(VMError):
|
||||
|
||||
def __init__(self, message, original_exception=None):
|
||||
|
||||
Exception.__init__(self, message)
|
||||
if isinstance(message, Exception):
|
||||
message = str(message)
|
||||
self._message = message
|
||||
self._original_exception = original_exception
|
||||
|
||||
def __repr__(self):
|
||||
|
||||
return self._message
|
||||
|
||||
def __str__(self):
|
||||
|
||||
return self._message
|
||||
pass
|
||||
|
Reference in New Issue
Block a user