sapling/edenscm
Jun Wu ec5f4f4f6a smartset: fix a possible StopIteration exception
Summary:
Python's `next()` can raise the `StopIteration` exception, unlike Rust's `next`
which just returns `None` instead.

Fix it by providing a default value `None`.

Reviewed By: singhsrb

Differential Revision: D15008773

fbshipit-source-id: df885c63b8130ceac38f86c89f2547dde2d519ba
2019-04-18 19:32:54 -07:00
..
hgdemandimport codemod: move Python packages to edenscm 2019-01-28 18:35:41 -08:00
hgext remotefilelog: remove fetchwarning 2019-04-18 14:09:09 -07:00
mercurial smartset: fix a possible StopIteration exception 2019-04-18 19:32:54 -07:00
__init__.py codemod: move Python packages to edenscm 2019-01-28 18:35:41 -08:00