Compare commits
No commits in common. "4987d0b90d1389465fb931e17239ef6ab5c158ff" and "57b734f1c236ca98128f892db7311cba87a97a87" have entirely different histories.
4987d0b90d
...
57b734f1c2
@ -79,10 +79,6 @@ class RevocationDocument(AbstractDocument):
|
||||
# Remove the file itself
|
||||
super().delete(*args, **kwargs)
|
||||
|
||||
if not self.file:
|
||||
# If (for reasons) no file path has been added to the entry, we act as if the file did not exist
|
||||
raise ObjectDoesNotExist
|
||||
|
||||
# Always remove 'revocation' folder if the one revocation we just processed is the only one left
|
||||
folder_path = self.file.path.split("/")
|
||||
if revoc_docs.count() == 0:
|
||||
|
Loading…
Reference in New Issue
Block a user