Mercurial > gnulib
changeset 19321:c561841586ce
module: fix typo (is -> in)
author | Dmitry Selyutin <ghostmansd@gmail.com> |
---|---|
date | Thu, 28 Sep 2017 10:46:01 +0300 |
parents | 9066c20e6576 |
children | 01e402b04bb1 |
files | pygnulib/module.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/pygnulib/module.py Thu Sep 28 10:05:15 2017 +0300 +++ b/pygnulib/module.py Thu Sep 28 10:46:01 2017 +0300 @@ -410,7 +410,7 @@ match = File._PATTERN_.split(stream.read())[1:] for (group, value) in zip(match[::2], match[1::2]): (typeid, key) = File._TABLE_[group] - if typeid is (list, set, tuple): + if typeid in (list, set, tuple): lines = [] for line in value.splitlines(): if not line.strip() or line.startswith("#"):