Skip to content

Commit

Permalink
fix cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
fukatani committed Nov 12, 2017
1 parent 920edfb commit d558569
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions rgf/sklearn.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,12 +129,9 @@ def _cleanup():


def _cleanup_partial(uuid):
if uuid not in _UUIDS:
return
model_glob = os.path.join(_TEMP_PATH, uuid + "*")
for fn in glob(model_glob):
os.remove(fn)
_UUIDS.remove(uuid)


def _sigmoid(x):
Expand Down

0 comments on commit d558569

Please sign in to comment.