mercurial/shelve.py
changeset 49248 63fd0282ad40
parent 48946 642e31cb55f0
child 49284 d44e3c45f0e4
--- a/mercurial/shelve.py	Mon May 30 00:45:00 2022 +0200
+++ b/mercurial/shelve.py	Mon May 30 16:18:12 2022 +0200
@@ -238,7 +238,7 @@
             d[b'nodestoremove'] = [
                 bin(h) for h in d[b'nodestoremove'].split(b' ')
             ]
-        except (ValueError, TypeError, KeyError) as err:
+        except (ValueError, KeyError) as err:
             raise error.CorruptedState(stringutil.forcebytestr(err))
 
     @classmethod