temporary hack-revert, the original is now in branch "paths"
[openpower-isa.git] / src / openpower / insndb / db.py
index c7788f8a08c58545c215eadb95a4fa37771b1626..fa5eb267ea7ae14f442183b260c2580b16d56a80 100644 (file)
@@ -173,7 +173,7 @@ def main():
     db = Database(find_wiki_dir())
     (path, records) = next(db.walk(match=lambda pair: isinstance(pair, Records)))
     if not isinstance(visitor, InstructionVisitor):
-        match = None
+        match = lambda _: True
     else:
         insn = args.pop("insn")
         def match(record):