aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2017-03-10 16:19:09 -0500
committerRob Austein <sra@hactrn.net>2017-03-10 16:19:09 -0500
commit70afb31d4b4c887d5504404707849568a9e1e340 (patch)
treeb80979251b0a1b0bb5492251d2f2019590c7537b
parent1f2036259615348f59a340a8f4ee907a4f6fa603 (diff)
Typo.
-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):