Refactor code for readability and compatibility.
This commit is contained in:
parent
a09835049b
commit
c6d9c0619e
43 changed files with 129 additions and 112 deletions
|
|
@ -203,7 +203,8 @@ def purge_processor(caller):
|
|||
del caller.ndb.batch_stackptr
|
||||
del caller.ndb.batch_pythonpath
|
||||
del caller.ndb.batch_batchmode
|
||||
except:
|
||||
except Exception:
|
||||
# something might have already been erased; it's not critical
|
||||
pass
|
||||
# clear everything back to the state before the batch call
|
||||
if caller.ndb.batch_cmdset_backup:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue