Skip to content

Commit

Permalink
call the right delete in file system storage
Browse files Browse the repository at this point in the history
  • Loading branch information
twobraids authored and lonnen committed Feb 13, 2013
1 parent ee2160b commit 09af675
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion socorro/external/filesystem/crashstorage.py
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ def new_crashes(self):
def remove(self, crash_id):
"""delegate removal of a raw crash to the underlying filesystem"""
try:
self.std_crash_store.remove(crash_id)
self.std_crash_store.quickDelete(crash_id)
except NoSuchUuidFound:
raise CrashIDNotFound(crash_id)

Expand Down
3 changes: 0 additions & 3 deletions socorro/unittest/external/filesystem/test_crashstorage.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,9 +129,6 @@ def _common_basic_test(self, config, crashstorage):
self.assertRaises(OSError,
crashstorage.std_crash_store.getDump,
'114559a5-d8e6-428c-8b88-1c1f22120314')
self.assertRaises(CrashIDNotFound,
crashstorage.remove,
'114559a5-d8e6-428c-8b88-1c1f22120314')
self.assertRaises(CrashIDNotFound,
crashstorage.get_raw_crash,
'114559a5-d8e6-428c-8b88-1c1f22120314')
Expand Down

0 comments on commit 09af675

Please sign in to comment.