~mdw
/
catacomb-python
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
catacomb/__init__.py (_ShakeBase._copy): Actally copy the hash state.
[catacomb-python]
/
catacomb
/
__init__.py
diff --git
a/catacomb/__init__.py
b/catacomb/__init__.py
index
6ae1062
..
ff771b9
100644
(file)
--- a/
catacomb/__init__.py
+++ b/
catacomb/__init__.py
@@
-238,7
+238,7
@@
class _ShakeBase (_HashBase):
## Delegate methods...
def copy(me): new = me.__class__(); new._copy(me)
## Delegate methods...
def copy(me): new = me.__class__(); new._copy(me)
- def _copy(me, other): me._h = other._h
+ def _copy(me, other): me._h = other._h
.copy()
def hash(me, m): me._h.hash(m); return me
def xof(me): me._h.xof(); return me
def get(me, n): return me._h.get(n)
def hash(me, m): me._h.hash(m); return me
def xof(me): me._h.xof(); return me
def get(me, n): return me._h.get(n)