mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-05-03 16:52:39 +02:00
catch only a specific error
catch only NameError, rather than everything.
This commit is contained in:
parent
7ad275ce8a
commit
f25797cd61
1 changed files with 1 additions and 1 deletions
|
|
@ -9,7 +9,7 @@ try:
|
|||
try:
|
||||
__IPYTHON__
|
||||
pb.ion()
|
||||
except:
|
||||
except NameError:
|
||||
pass
|
||||
except:
|
||||
pass
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue