[Cryptech-Commits] [sw/libhal] branch pymux updated: Typo.

git at cryptech.is git at cryptech.is
Fri Mar 10 21:20:19 UTC 2017


This is an automated email from the git hooks/post-receive script.

sra at hactrn.net pushed a commit to branch pymux
in repository sw/libhal.

The following commit(s) were added to refs/heads/pymux by this push:
     new 70afb31  Typo.
70afb31 is described below

commit 70afb31d4b4c887d5504404707849568a9e1e340
Author: Rob Austein <sra at hactrn.net>
AuthorDate: Fri Mar 10 16:19:09 2017 -0500

    Typo.
---
 libhal.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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):

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Commits mailing list