aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libhal.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/libhal.py b/libhal.py
index 53e5fe8..510827c 100644
--- a/libhal.py
+++ b/libhal.py
@@ -392,7 +392,7 @@ class PKey(Handle):
self.hsm.pkey_verify(self, hash = hash, data = data, signature = signature)
def set_attributes(self, attributes = None, **kwargs):
- assert if attributes is None or not kwargs
+ assert attributes is None or not kwargs
self.hsm.pkey_set_attributes(self, attributes or kwargs)
def get_attributes(self, attributes):