commit | d918580097506197e0aadaa60c4681536b5f4adf | [log] [tgz] |
---|---|---|
author | Alex Gaynor <alex.gaynor@gmail.com> | Wed Oct 22 10:12:07 2014 -0700 |
committer | Alex Gaynor <alex.gaynor@gmail.com> | Wed Oct 22 10:12:07 2014 -0700 |
tree | 2b58223f53302e0aa953c0fc203537dda879d1fc | |
parent | 633caacfe7e86f9098bb8cb64cfc12a9fe5cc35c [diff] [blame] |
Statically verify interface implementations, and fix all the resulting bugs
diff --git a/cryptography/utils.py b/cryptography/utils.py index 8fbcabc..03c8c0e 100644 --- a/cryptography/utils.py +++ b/cryptography/utils.py
@@ -23,6 +23,7 @@ def register_interface(iface): def register_decorator(klass): + verify_interface(iface, klass) iface.register(klass) return klass return register_decorator