cbor: drop a duplicate dictionary initialization entry
authorMatt Harbison <matt_harbison@yahoo.com>
Sun, 22 Sep 2024 17:11:10 -0400
changeset 51878 6a0afc73472e
parent 51877 8c990011c804
child 51879 1a640aa20e48
cbor: drop a duplicate dictionary initialization entry Flagged by PyCharm.
mercurial/utils/cborutil.py
--- 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,