1
0

replace BaseException with Exception

This commit is contained in:
Bryan Stitt
2013-11-09 20:21:02 -08:00
parent ba9782eec6
commit f0eb0eccde
15 changed files with 42 additions and 42 deletions

View File

@@ -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