changeset 51915:6a0afc73472e

cbor: drop a duplicate dictionary initialization entry Flagged by PyCharm.
author Matt Harbison <matt_harbison@yahoo.com>
date Sun, 22 Sep 2024 17:11:10 -0400
parents 8c990011c804
children 1a640aa20e48
files mercurial/utils/cborutil.py
diffstat 1 files changed, 0 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/utils/cborutil.py	Wed Sep 04 17:08:58 2024 +0200
+++ b/mercurial/utils/cborutil.py	Sun Sep 22 17:11:10 2024 -0400
@@ -206,7 +206,6 @@
 STREAM_ENCODERS = {
     bytes: streamencodebytestring,
     int: streamencodeint,
-    int: streamencodeint,
     list: streamencodearray,
     tuple: streamencodearray,
     dict: streamencodemap,