Skip to content

Commit

Permalink
delete redundant check in get_resource_uploader
Browse files Browse the repository at this point in the history
  • Loading branch information
mutantsan committed Nov 23, 2021
1 parent 1dc9475 commit af79550
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions ckanext/clamav/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,3 @@ def get_resource_uploader(self, data_dict):
return

scan_file_for_viruses(data_dict)

for plugin in p.PluginImplementations(p.IUploader):
if isinstance(plugin, type(self)):
continue
return plugin.get_resource_uploader(data_dict)

0 comments on commit af79550

Please sign in to comment.