aboutsummaryrefslogtreecommitdiff
path: root/depends/patches/native_biplist/sorted_list.patch
diff options
context:
space:
mode:
authorfanquake <fanquake@gmail.com>2018-03-06 18:18:14 -0500
committerfanquake <fanquake@gmail.com>2018-03-06 18:18:14 -0500
commit4ef82f16999888adede742c04e549a6b17ca458d (patch)
treeeb3db33854d02fbafbb5c175e639cb6998a317df /depends/patches/native_biplist/sorted_list.patch
parent17c44b208f1ced3dad372650d769d42d9e23fb35 (diff)
downloadbitcoin-4ef82f16999888adede742c04e549a6b17ca458d.tar.xz
depends: biplist 1.0.3
Diffstat (limited to 'depends/patches/native_biplist/sorted_list.patch')
-rw-r--r--depends/patches/native_biplist/sorted_list.patch29
1 files changed, 0 insertions, 29 deletions
diff --git a/depends/patches/native_biplist/sorted_list.patch b/depends/patches/native_biplist/sorted_list.patch
deleted file mode 100644
index 89abdb1b71..0000000000
--- a/depends/patches/native_biplist/sorted_list.patch
+++ /dev/null
@@ -1,29 +0,0 @@
---- a/biplist/__init__.py 2014-10-26 19:03:11.000000000 +0000
-+++ b/biplist/__init__.py 2016-07-19 19:30:17.663521999 +0000
-@@ -541,7 +541,7 @@
- return HashableWrapper(n)
- elif isinstance(root, dict):
- n = {}
-- for key, value in iteritems(root):
-+ for key, value in sorted(iteritems(root)):
- n[self.wrapRoot(key)] = self.wrapRoot(value)
- return HashableWrapper(n)
- elif isinstance(root, list):
-@@ -616,7 +616,7 @@
- elif isinstance(obj, dict):
- size = proc_size(len(obj))
- self.incrementByteCount('dictBytes', incr=1+size)
-- for key, value in iteritems(obj):
-+ for key, value in sorted(iteritems(obj)):
- check_key(key)
- self.computeOffsets(key, asReference=True)
- self.computeOffsets(value, asReference=True)
-@@ -714,7 +714,7 @@
- keys = []
- values = []
- objectsToWrite = []
-- for key, value in iteritems(obj):
-+ for key, value in sorted(iteritems(obj)):
- keys.append(key)
- values.append(value)
- for key in keys: