replace BaseException with Exception
This commit is contained in:
@@ -117,7 +117,7 @@ class Interface(threading.Thread):
|
||||
return
|
||||
|
||||
if protocol not in 'ghst':
|
||||
raise BaseException('Unknown protocol: %s'%protocol)
|
||||
raise Exception('Unknown protocol: %s'%protocol)
|
||||
|
||||
self.host = host
|
||||
self.port = port
|
||||
|
||||
Reference in New Issue
Block a user