Check if ltihooks is present before trying to delete it
Original commit message from CVS: Check if ltihooks is present before trying to delete it
This commit is contained in:
parent
ff6728de7b
commit
2d13103ff7
@ -88,4 +88,6 @@ if __ltihooks_used__:
|
||||
__ltihooks_used__ = False
|
||||
del ltihooks
|
||||
import sys
|
||||
del sys.modules['ltihooks']
|
||||
if 'ltihooks' in sys.modules:
|
||||
del sys.modules['ltihooks']
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user