Week 4-BN: guard the console snippets against bv being None

Every console snippet derives the repo path from bv.file.original_filename, so
with no database open bv is None and it fails with 'NoneType has no attribute
file'. Add 'assert bv is not None, "Open the .bndb first..."' to all 12 snippets
so the failure is explicit.
This commit is contained in:
Kevin Thomas committed 2026-10-03 17:37:54 -04:00
1 parent 5225f47ecf
commit fae2ffc938
2 files changed
+12

No files matched your search

Binary file not shown.