mirror of
https://github.com/bigchaindb/bigchaindb.git
synced 2024-10-13 13:34:05 +00:00
Remove useless func
This commit is contained in:
parent
1ddfa2becb
commit
32e08b7c63
@ -51,13 +51,6 @@ def map_leafs(func, mapping):
|
||||
return _inner(copy.deepcopy(mapping))
|
||||
|
||||
|
||||
def get_casted_value(original, to_convert):
|
||||
try:
|
||||
return original(to_convert)
|
||||
except TypeError:
|
||||
return type(original)(to_convert)
|
||||
|
||||
|
||||
# Thanks Alex <3
|
||||
# http://stackoverflow.com/a/3233356/597097
|
||||
def update(d, u):
|
||||
|
Loading…
x
Reference in New Issue
Block a user