chiark
/
gitweb
/
~mdw
/
catacomb-python
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
457b4e9
)
catacomb/__init__.py: Fix bungled `unbox' method of `_BoxyPriv'.
author
Mark Wooding
<mdw@distorted.org.uk>
Thu, 11 May 2017 09:42:15 +0000
(10:42 +0100)
committer
Mark Wooding
<mdw@distorted.org.uk>
Sun, 14 May 2017 03:29:19 +0000
(
04:29
+0100)
catacomb/__init__.py
patch
|
blob
|
blame
|
history
diff --git
a/catacomb/__init__.py
b/catacomb/__init__.py
index 785838e67eb94830a2358670bcd86049ac0e889c..eb19374f52aa0efbc7f73dea97b790af2282c536 100644
(file)
--- a/
catacomb/__init__.py
+++ b/
catacomb/__init__.py
@@
-770,7
+770,7
@@
class _BoxyPriv (_BoxyPub):
def box(me, recip, n, m):
return secret_box(me.boxkey(recip), n, m)
def unbox(me, recip, n, c):
- return secret_unbox(me.boxkey(recip
, n, c)
)
+ return secret_unbox(me.boxkey(recip
), n, c
)
def __repr__(me): return '%s(priv = %s, pub = %r)' % \
(_clsname(me), _repr_secret(me.priv), me.pub)
def _repr_pretty_(me, pp, cyclep):