Skip to content

Commit fd037b7

Browse files
Include now required kwargs.
1 parent 8bda2a6 commit fd037b7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

datajoint/plugin.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ def _update_error_stack(plugin_name):
1111
base_meta = pkg_resources.get_distribution(base_name)
1212
plugin_meta = pkg_resources.get_distribution(plugin_name)
1313

14-
data = hash_pkg(str(Path(plugin_meta.module_path, plugin_name)))
14+
data = hash_pkg(pkgpath=str(Path(plugin_meta.module_path, plugin_name)))
1515
signature = plugin_meta.get_metadata('{}.sig'.format(plugin_name))
1616
pubkey_path = str(Path(base_meta.egg_info, '{}.pub'.format(base_name)))
17-
verify(pubkey_path, data, signature)
17+
verify(pubkey_path=pubkey_path, data=data, signature=signature)
1818
print('DataJoint verified plugin `{}` detected.'.format(plugin_name))
1919
return True
2020
except (FileNotFoundError, InvalidSignature):

0 commit comments

Comments
 (0)