Fix issue with fit deletion (#1211)
* bump dev * Fix issue with deleted fit not being removed from database cache (#1207). Also, include some error handling around the our commit stuff
This commit is contained in:
@@ -185,7 +185,7 @@ class Fit(object):
|
||||
if booster.boosted_fit != fit and booster.boosted_fit in eos.db.saveddata_session: # GH issue #359
|
||||
refreshFits.add(booster.boosted_fit)
|
||||
|
||||
eos.db.saveddata_session.delete(fit)
|
||||
eos.db.remove(fit)
|
||||
|
||||
pyfalog.debug(" Need to refresh {} fits: {}", len(refreshFits), refreshFits)
|
||||
for fit in refreshFits:
|
||||
|
||||
Reference in New Issue
Block a user